Package | Description |
---|---|
com.azure.search.documents |
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. |
com.azure.search.documents.models |
Package containing classes for SearchIndexClient.
|
Modifier and Type | Method and Description |
---|---|
AutocompletePagedFlux |
SearchAsyncClient.autocomplete(String searchText,
String suggesterName,
AutocompleteOptions autocompleteOptions)
Autocompletes incomplete query terms based on input text and matching terms in the index.
|
AutocompletePagedIterable |
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.
|
Modifier and Type | Method and Description |
---|---|
AutocompleteOptions |
AutocompleteOptions.setAutocompleteMode(AutocompleteMode autocompleteMode)
Set the autocompleteMode property: Specifies the mode for Autocomplete.
|
AutocompleteOptions |
AutocompleteOptions.setFilter(String filter)
Set the filter property: An OData expression that filters the documents used to produce completed terms for the
Autocomplete result.
|
AutocompleteOptions |
AutocompleteOptions.setHighlightPostTag(String highlightPostTag)
Set the highlightPostTag property: A string tag that is appended to hit highlights.
|
AutocompleteOptions |
AutocompleteOptions.setHighlightPreTag(String highlightPreTag)
Set the highlightPreTag property: A string tag that is prepended to hit highlights.
|
AutocompleteOptions |
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 |
AutocompleteOptions.setSearchFields(String... searchFields)
Set the searchFields property: The list of field names to consider when querying for auto-completed terms.
|
AutocompleteOptions |
AutocompleteOptions.setTop(Integer top)
Set the top property: The number of auto-completed terms to retrieve.
|
AutocompleteOptions |
AutocompleteOptions.setUseFuzzyMatching(Boolean useFuzzyMatching)
Set the useFuzzyMatching property: A value indicating whether to use fuzzy matching for the autocomplete query.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.