Package org.elasticsearch.search.facet.histogram.bounded

Examples of org.elasticsearch.search.facet.histogram.bounded.BoundedValueHistogramFacetCollector$HistogramProc$ValueAggregator


            }
            long from = ((Number) mapper.valueFromString(sFrom)).longValue();
            long to = ((Number) mapper.valueFromString(sTo)).longValue();

            if (valueField != null) {
                return new BoundedValueHistogramFacetCollector(facetName, keyField, valueField, interval, from, to, comparatorType, context);
            } else if (valueScript != null) {
                return new BoundedValueScriptHistogramFacetCollector(facetName, keyField, scriptLang, valueScript, params, interval, from, to, comparatorType, context);
            } else {
                return new BoundedCountHistogramFacetCollector(facetName, keyField, interval, from, to, comparatorType, context);
            }
View Full Code Here

TOP

Related Classes of org.elasticsearch.search.facet.histogram.bounded.BoundedValueHistogramFacetCollector$HistogramProc$ValueAggregator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.