Class AutocompleteResult
- java.lang.Object
-
- com.azure.search.documents.models.AutocompleteResult
-
public final class AutocompleteResult extends Object
The result of Autocomplete query.
-
-
Constructor Summary
Constructors Constructor Description AutocompleteResult(List<AutocompleteItem> results)
Creates an instance of AutocompleteResult class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
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.List<AutocompleteItem>
getResults()
Get the results property: The list of returned Autocompleted items.
-
-
-
Constructor Detail
-
AutocompleteResult
public AutocompleteResult(List<AutocompleteItem> results)
Creates an instance of AutocompleteResult class.- Parameters:
results
- the results value to set.
-
-
Method Detail
-
getCoverage
public Double 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
public List<AutocompleteItem> getResults()
Get the results property: The list of returned Autocompleted items.- Returns:
- the results value.
-
-