SuggestDocumentsResult Class
- java.
lang. Object - com.
azure. search. documents. models. SuggestDocumentsResult
- com.
Implements
public final class SuggestDocumentsResult
implements JsonSerializable<SuggestDocumentsResult>
Response containing suggestion query results from an index.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Suggest |
fromJson(JsonReader jsonReader)
Reads an instance of Suggest |
| Double |
getCoverage()
Get the coverage property: A value indicating the percentage of the index that was included in the query, or null if minimum |
|
List<Suggest |
getResults()
Get the results property: The sequence of results returned by the query. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static SuggestDocumentsResult fromJson(JsonReader jsonReader)
Reads an instance of SuggestDocumentsResult from the JsonReader.
Parameters:
Returns:
Throws:
getCoverage
public Double getCoverage()
Get the coverage property: A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request.
Returns:
getResults
public List<SuggestResult> getResults()
Get the results property: The sequence of results returned by the query.
Returns: