public class QueryTopHitsAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
hits |
protected java.lang.Long |
matchingResults |
Constructor and Description |
---|
QueryTopHitsAggregationResult() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getHits()
Gets the hits.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
protected java.util.List<java.util.Map<java.lang.String,java.lang.Object>> hits
public java.lang.Long getMatchingResults()
Number of matching results.
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getHits()
An array of the document results.