Uses of Class
com.azure.search.documents.models.SuggestOptions
-
Packages that use SuggestOptions Package Description com.azure.search.documents Package containing classes for creatingSearchClient
orSearchAsyncClient
used to perform document management, autocomplete, search, or suggestion operations using an Azure Cognitive Search service index.com.azure.search.documents.models Package containing classes for SearchIndexClient. -
-
Uses of SuggestOptions in com.azure.search.documents
Methods in com.azure.search.documents with parameters of type SuggestOptions Modifier and Type Method Description SuggestPagedFlux
SearchAsyncClient. suggest(String searchText, String suggesterName, SuggestOptions suggestOptions)
Suggests documents in the index that match the given partial query.SuggestPagedIterable
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
Methods in com.azure.search.documents.models that return SuggestOptions Modifier and Type Method Description SuggestOptions
SuggestOptions. setFilter(String filter)
Set the filter property: An OData expression that filters the documents considered for suggestions.SuggestOptions
SuggestOptions. setHighlightPostTag(String highlightPostTag)
Set the highlightPostTag property: A string tag that is appended to hit highlights.SuggestOptions
SuggestOptions. setHighlightPreTag(String highlightPreTag)
Set the highlightPreTag property: A string tag that is prepended to hit highlights.SuggestOptions
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
SuggestOptions. setOrderBy(String... orderBy)
Set the orderBy property: The list of OData $orderby expressions by which to sort the results.SuggestOptions
SuggestOptions. setSearchFields(String... searchFields)
Set the searchFields property: The list of field names to search for the specified search text.SuggestOptions
SuggestOptions. setSelect(String... select)
Set the select property: The list of fields to retrieve.SuggestOptions
SuggestOptions. setTop(Integer top)
Set the top property: The number of suggestions to retrieve.SuggestOptions
SuggestOptions. setUseFuzzyMatching(Boolean useFuzzyMatching)
Set the useFuzzyMatching property: A value indicating whether to use fuzzy matching for the suggestions query.
-