public class QueryGroupByAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
QueryGroupByAggregationResult() |
Modifier and Type | Method and Description |
---|---|
List<QueryAggregation> |
getAggregations()
Gets the aggregations.
|
Long |
getEstimatedMatchingDocuments()
Gets the estimatedMatchingDocuments.
|
String |
getKey()
Gets the key.
|
Long |
getMatchingResults()
Gets the matchingResults.
|
Double |
getRelevancy()
Gets the relevancy.
|
Long |
getTotalMatchingDocuments()
Gets the totalMatchingDocuments.
|
public String getKey()
Value of the field with a non-zero frequency in the document set.
public Long getMatchingResults()
Number of documents containing the 'key'.
public Double getRelevancy()
The relevancy for this group.
public Long getTotalMatchingDocuments()
The number of documents which have the group as the value of specified field in the whole set of documents in this collection. Returned only when the `relevancy` parameter is set to `true`.
public Long getEstimatedMatchingDocuments()
The estimated number of documents which would match the query and also meet the condition. Returned only when the `relevancy` parameter is set to `true`.
public List<QueryAggregation> getAggregations()
An array of sub aggregations.
Copyright © 2021 IBM Cloud. All rights reserved.