public class TopHitsResults
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<QueryResult> |
hits |
protected java.lang.Long |
matchingResults |
| Constructor and Description |
|---|
TopHitsResults() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<QueryResult> |
getHits()
Gets the hits.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
protected java.util.List<QueryResult> hits
public java.lang.Long getMatchingResults()
Number of matching results.
public java.util.List<QueryResult> getHits()
Top results returned by the aggregation.