| Package | Description |
|---|---|
| com.azure.search |
Package containing the classes for SearchIndexRestClient.
|
| com.azure.search.models |
Package containing the data models for SearchServiceRestClient.
|
| Modifier and Type | Method and Description |
|---|---|
SuggestPagedFlux |
SearchIndexAsyncClient.suggest(String searchText,
String suggesterName,
SuggestOptions suggestOptions,
RequestOptions requestOptions)
Suggests documents in the index that match the given partial query.
|
SuggestPagedIterable |
SearchIndexClient.suggest(String searchText,
String suggesterName,
SuggestOptions suggestOptions,
RequestOptions requestOptions,
com.azure.core.util.Context context)
Suggests documents in the index that match the given partial query.
|
| Modifier and Type | Method and 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.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.