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

Examples of org.elasticsearch.search.facet.histogram.bounded.BoundedCountHistogramFacetCollector


            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);
            }
        }

        if (valueScript != null) {
            return new ValueScriptHistogramFacetCollector(facetName, keyField, scriptLang, valueScript, params, interval, comparatorType, context);
View Full Code Here

TOP

Related Classes of org.elasticsearch.search.facet.histogram.bounded.BoundedCountHistogramFacetCollector

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.