public class QueryTermAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
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 that contain the 'key'.
public Double getRelevancy()
The relevancy for this term.
public Long getTotalMatchingDocuments()
The number of documents which have the term 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 © 2024 IBM Cloud. All rights reserved.