public class QueryTopHitsAggregation extends QueryAggregation
| Modifier and Type | Method and Description | 
|---|---|
| QueryTopHitsAggregationResult | getHits()Gets the hits. | 
| String | getName()Gets the name. | 
| Long | getSize()Gets the size. | 
getTypepublic Long getSize()
The number of documents to return.
public String getName()
Identifier specified in the query request of this aggregation.
public QueryTopHitsAggregationResult getHits()
Copyright © 2023 IBM Cloud. All rights reserved.