Class QueryTopHitsAggregationResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.QueryTopHitsAggregationResult
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class QueryTopHitsAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A query response that contains the matching documents for the preceding aggregations.
-
Constructor Summary
Constructors Constructor Description QueryTopHitsAggregationResult()
-
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
QueryTopHitsAggregationResult
public QueryTopHitsAggregationResult()
-
-
Method Details
-
getMatchingResults
Gets the matchingResults.Number of matching results.
- Returns:
- the matchingResults
-
getHits
Gets the hits.An array of the document results.
- Returns:
- the hits
-