Uses of Class
com.azure.search.documents.models.SuggestOptions
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 SuggestOptions in com.azure.search.documents
Modifier and TypeMethodDescriptionSearchAsyncClient.suggest
(String searchText, String suggesterName, SuggestOptions suggestOptions) Suggests documents in the index that match the given partial query.SearchClient.suggest
(String searchText, String suggesterName, SuggestOptions suggestOptions, com.azure.core.util.Context context) Suggests documents in the index that match the given partial query. -
Uses of SuggestOptions in com.azure.search.documents.models
Modifier and TypeMethodDescriptionSet the filter property: An OData expression that filters the documents considered for suggestions.SuggestOptions.setHighlightPostTag
(String highlightPostTag) Set the highlightPostTag property: A string tag that is appended to hit highlights.SuggestOptions.setHighlightPreTag
(String highlightPreTag) Set the highlightPreTag property: A string tag that is prepended to hit highlights.SuggestOptions.setMinimumCoverage
(Double minimumCoverage) Set the minimumCoverage property: A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestions query in order for the query to be reported as a success.SuggestOptions.setOrderBy
(String... orderBy) Set the orderBy property: The list of OData $orderby expressions by which to sort the results.SuggestOptions.setSearchFields
(String... searchFields) Set the searchFields property: The list of field names to search for the specified search text.Set the select property: The list of fields to retrieve.Set the top property: The number of suggestions to retrieve.SuggestOptions.setUseFuzzyMatching
(Boolean useFuzzyMatching) Set the useFuzzyMatching property: A value indicating whether to use fuzzy matching for the suggestions query.