AutocompleteResult Class
- java.
lang. Object - com.
azure. search. documents. models. AutocompleteResult
- com.
Implements
public final class AutocompleteResult
implements JsonSerializable<AutocompleteResult>
The result of Autocomplete query.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Autocomplete |
fromJson(JsonReader jsonReader)
Reads an instance of Autocomplete |
| Double |
getCoverage()
Get the coverage property: A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimum |
|
List<Autocomplete |
getResults()
Get the results property: The list of returned Autocompleted items. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AutocompleteResult fromJson(JsonReader jsonReader)
Reads an instance of AutocompleteResult from the JsonReader.
Parameters:
Returns:
Throws:
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:
getResults
public List<AutocompleteItem> getResults()
Get the results property: The list of returned Autocompleted items.
Returns: