Examples of SlicedCollector


Examples of com.pearson.entech.elasticsearch.search.facet.approx.date.collectors.SlicedCollector

                _collector = new CountingCollector<NullFieldData>(keyFieldData, tzRounding);
            else
                _collector = new CountingCollector(keyFieldData, valueFieldData, tzRounding);
        else if(distinctFieldData == null)
            if(valueFieldData == null)
                _collector = new SlicedCollector(keyFieldData, sliceFieldData, tzRounding);
            else
                _collector = new SlicedCollector(keyFieldData, valueFieldData, sliceFieldData, tzRounding);
        else if(sliceFieldData == null)
            if(valueFieldData == null)
                _collector = new DistinctCollector(keyFieldData, distinctFieldData, tzRounding, exactThreshold);
            else
                throw new FacetPhaseExecutionException("unknown date_facet", "Can't use distinct_field and value_field together");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.