Class AutocompleteResult
java.lang.Object
com.azure.search.documents.models.AutocompleteResult
The result of Autocomplete query.
-
Constructor Summary
ConstructorsConstructorDescriptionAutocompleteResult
(List<AutocompleteItem> results) Creates an instance of AutocompleteResult class. -
Method Summary
Modifier and TypeMethodDescriptionGet the coverage property: A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request.Get the results property: The list of returned Autocompleted items.
-
Constructor Details
-
AutocompleteResult
Creates an instance of AutocompleteResult class.- Parameters:
results
- the results value to set.
-
-
Method Details
-
getCoverage
Get the coverage property: A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request.- Returns:
- the coverage value.
-
getResults
Get the results property: The list of returned Autocompleted items.- Returns:
- the results value.
-