DocumentsOperationsExtensions.Autocomplete Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Queries the number of documents in the search index.
public static Microsoft.Azure.Search.Models.AutocompleteResult Autocomplete (this Microsoft.Azure.Search.IDocumentsOperations operations, string searchText, string suggesterName, Microsoft.Azure.Search.Models.AutocompleteParameters autocompleteParameters = default, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default);
static member Autocomplete : Microsoft.Azure.Search.IDocumentsOperations * string * string * Microsoft.Azure.Search.Models.AutocompleteParameters * Microsoft.Azure.Search.Models.SearchRequestOptions -> Microsoft.Azure.Search.Models.AutocompleteResult
<Extension()>
Public Function Autocomplete (operations As IDocumentsOperations, searchText As String, suggesterName As String, Optional autocompleteParameters As AutocompleteParameters = Nothing, Optional searchRequestOptions As SearchRequestOptions = Nothing) As AutocompleteResult
Parameters
- operations
- IDocumentsOperations
The operations group for this extension method.
- searchText
- String
- suggesterName
- String
- autocompleteParameters
- AutocompleteParameters
- searchRequestOptions
- SearchRequestOptions
Additional parameters for the operation
Returns
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.