public class TopHits extends QueryAggregation
Constructor and Description |
---|
TopHits() |
Modifier and Type | Method and Description |
---|---|
TopHitsResults |
getHits()
Gets the hits.
|
Long |
getSize()
Gets the size.
|
getAggregations, getMatchingResults, getResults, getType
public Long getSize()
Number of top hits returned by the aggregation.
public TopHitsResults getHits()
Copyright © 2021 IBM Cloud. All rights reserved.