Uses of Class
com.azure.search.documents.models.AutocompleteOptions
Package
Description
Package containing classes for creating
SearchClient
or
SearchAsyncClient
used to perform document management, autocomplete, search, or
suggestion operations using an Azure Cognitive Search service index.Package containing classes for SearchIndexClient.
-
Uses of AutocompleteOptions in com.azure.search.documents
Modifier and TypeMethodDescriptionSearchAsyncClient.autocomplete
(String searchText, String suggesterName, AutocompleteOptions autocompleteOptions) Autocompletes incomplete query terms based on input text and matching terms in the index.SearchClient.autocomplete
(String searchText, String suggesterName, AutocompleteOptions autocompleteOptions, com.azure.core.util.Context context) Autocompletes incomplete query terms based on input text and matching terms in the index. -
Uses of AutocompleteOptions in com.azure.search.documents.models
Modifier and TypeMethodDescriptionAutocompleteOptions.setAutocompleteMode
(AutocompleteMode autocompleteMode) Set the autocompleteMode property: Specifies the mode for Autocomplete.Set the filter property: An OData expression that filters the documents used to produce completed terms for the Autocomplete result.AutocompleteOptions.setHighlightPostTag
(String highlightPostTag) Set the highlightPostTag property: A string tag that is appended to hit highlights.AutocompleteOptions.setHighlightPreTag
(String highlightPreTag) Set the highlightPreTag property: A string tag that is prepended to hit highlights.AutocompleteOptions.setMinimumCoverage
(Double minimumCoverage) Set the minimumCoverage property: A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success.AutocompleteOptions.setSearchFields
(String... searchFields) Set the searchFields property: The list of field names to consider when querying for auto-completed terms.Set the top property: The number of auto-completed terms to retrieve.AutocompleteOptions.setUseFuzzyMatching
(Boolean useFuzzyMatching) Set the useFuzzyMatching property: A value indicating whether to use fuzzy matching for the autocomplete query.