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