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 SummaryConstructors Constructor Description QueryTopHitsAggregationResult()
- 
Method SummaryMethods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModelequals, hashCode, toString
- 
Constructor Details- 
QueryTopHitsAggregationResultpublic QueryTopHitsAggregationResult()
 
- 
- 
Method Details- 
getMatchingResultsGets the matchingResults.Number of matching results. - Returns:
- the matchingResults
 
- 
getHitsGets the hits.An array of the document results. - Returns:
- the hits
 
 
-