public class TermsResult extends IndexQueryResult
| Constructor and Description |
|---|
TermsResult(io.searchbox.core.search.aggregation.TermsAggregation terms,
long missingCount,
long totalCount,
String originalQuery,
String builtQuery,
long tookMs) |
TermsResult(io.searchbox.core.search.aggregation.TermsAggregation terms,
long missingCount,
long totalCount,
String originalQuery,
String builtQuery,
long tookMs,
List<String> fields) |
| Modifier and Type | Method and Description |
|---|---|
static TermsResult |
empty(String originalQuery,
String builtQuery) |
long |
getMissing() |
long |
getOther() |
Map<String,Long> |
getTerms() |
long |
getTotal() |
Map<String,List<Map<String,String>>> |
termsMapping() |
getBuiltQuery, getOriginalQuery, tookMspublic TermsResult(io.searchbox.core.search.aggregation.TermsAggregation terms,
long missingCount,
long totalCount,
String originalQuery,
String builtQuery,
long tookMs)
public static TermsResult empty(String originalQuery, String builtQuery)
public long getTotal()
public long getMissing()
public long getOther()
Copyright © 2012–2020 Graylog, Inc.. All rights reserved.