public class QueryTermAggregationResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Method and Description | 
|---|---|
| List<Map<String,Object>> | getAggregations()Gets the aggregations. | 
| Double | getEstimatedMatchingResults()Gets the estimatedMatchingResults. | 
| 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 nonzero frequency in the document set.
public Long getMatchingResults()
Number of documents that contain the 'key'.
public Double getRelevancy()
The relevancy score for this result. Returned only if `relevancy:true` is specified in the request.
public Long getTotalMatchingDocuments()
Number of documents in the collection that contain the term in the specified field. Returned only when `relevancy:true` is specified in the request.
public Double getEstimatedMatchingResults()
Number of documents that are estimated to match the query and also meet the condition. Returned only when `relevancy:true` is specified in the request.
Copyright © 2023 IBM Cloud. All rights reserved.