다음을 통해 공유


IDocumentsOperations.AutocompleteWithHttpMessagesAsync Method

Definition

Queries the number of documents in the search index.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Search.Models.AutocompleteResult>> AutocompleteWithHttpMessagesAsync (string searchText, string suggesterName, Microsoft.Azure.Search.Models.AutocompleteParameters autocompleteParameters = default, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AutocompleteWithHttpMessagesAsync : string * string * Microsoft.Azure.Search.Models.AutocompleteParameters * Microsoft.Azure.Search.Models.SearchRequestOptions * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Search.Models.AutocompleteResult>>
Public Function AutocompleteWithHttpMessagesAsync (searchText As String, suggesterName As String, Optional autocompleteParameters As AutocompleteParameters = Nothing, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of AutocompleteResult))

Parameters

searchText
String
suggesterName
String
autocompleteParameters
AutocompleteParameters
searchRequestOptions
SearchRequestOptions

Additional parameters for the operation

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to