Package | Description |
---|---|
org.elasticsearch.search.facet | |
org.elasticsearch.search.facet.histogram |
Modifier and Type | Method and Description |
---|---|
static HistogramFacetBuilder |
FacetBuilders.histogramFacet(String facetName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HistogramFacetBuilder |
HistogramFacetBuilder.comparator(HistogramFacet.ComparatorType comparatorType) |
HistogramFacetBuilder |
HistogramFacetBuilder.facetFilter(FilterBuilder filter)
An additional filter used to further filter down the set of documents the facet will run on.
|
HistogramFacetBuilder |
HistogramFacetBuilder.field(String field)
The field name to perform the histogram facet.
|
HistogramFacetBuilder |
HistogramFacetBuilder.global(boolean global)
Should the facet run in global mode (not bounded by the search query) or not (bounded by
the search query).
|
HistogramFacetBuilder |
HistogramFacetBuilder.interval(long interval)
The interval used to control the bucket "size" where each key value of a hit will fall into.
|
HistogramFacetBuilder |
HistogramFacetBuilder.interval(long interval,
TimeUnit unit)
The interval used to control the bucket "size" where each key value of a hit will fall into.
|
HistogramFacetBuilder |
HistogramFacetBuilder.keyField(String keyField)
The field name to use in order to control where the hit will "fall into" within the histogram
entries.
|
HistogramFacetBuilder |
HistogramFacetBuilder.nested(String nested)
Sets the nested path the facet will execute on.
|
HistogramFacetBuilder |
HistogramFacetBuilder.valueField(String valueField)
The field name to use as the value of the hit to compute data based on values within the interval
(for example, total).
|
Copyright © 2009–2015. All rights reserved.