public class ValueHistogramFacetExecutor extends FacetExecutor
| Modifier and Type | Class and Description |
|---|---|
static class |
ValueHistogramFacetExecutor.HistogramProc |
FacetExecutor.Mode, FacetExecutor.Post| Constructor and Description |
|---|
ValueHistogramFacetExecutor(IndexNumericFieldData keyIndexFieldData,
IndexNumericFieldData valueIndexFieldData,
long interval,
HistogramFacet.ComparatorType comparatorType,
SearchContext context) |
| Modifier and Type | Method and Description |
|---|---|
InternalFacet |
buildFacet(String facetName)
Builds the facet.
|
org.elasticsearch.search.facet.histogram.ValueHistogramFacetExecutor.Collector |
collector()
A collector based facet implementation, collection the facet as hits match.
|
postpublic ValueHistogramFacetExecutor(IndexNumericFieldData keyIndexFieldData, IndexNumericFieldData valueIndexFieldData, long interval, HistogramFacet.ComparatorType comparatorType, SearchContext context)
public org.elasticsearch.search.facet.histogram.ValueHistogramFacetExecutor.Collector collector()
FacetExecutorcollector in class FacetExecutorpublic InternalFacet buildFacet(String facetName)
FacetExecutorbuildFacet in class FacetExecutorCopyright © 2009–2016. All rights reserved.