EntitiesOperations class

Class representing a EntitiesOperations.

Constructors

EntitiesOperations(EntitySearchClientContext)

Create a EntitiesOperations.

Methods

search(string, EntitiesSearchOptionalParams)
search(string, EntitiesSearchOptionalParams, ServiceCallback<SearchResponse>)
search(string, ServiceCallback<SearchResponse>)

Constructor Details

EntitiesOperations(EntitySearchClientContext)

Create a EntitiesOperations.

new EntitiesOperations(client: EntitySearchClientContext)

Parameters

client
EntitySearchClientContext

Reference to the service client.

Method Details

function search(query: string, options?: EntitiesSearchOptionalParams): Promise<EntitiesSearchResponse>

Parameters

query

string

The user's search term.

options
EntitiesSearchOptionalParams

The optional parameters

Returns

Promise<Models.EntitiesSearchResponse>

search(string, EntitiesSearchOptionalParams, ServiceCallback<SearchResponse>)

function search(query: string, options: EntitiesSearchOptionalParams, callback: ServiceCallback<SearchResponse>)

Parameters

query

string

The user's search term.

options
EntitiesSearchOptionalParams

The optional parameters

callback

ServiceCallback<SearchResponse>

The callback

search(string, ServiceCallback<SearchResponse>)

function search(query: string, callback: ServiceCallback<SearchResponse>)

Parameters

query

string

The user's search term.

callback

ServiceCallback<SearchResponse>

The callback