Package com.pearson.entech.elasticsearch.search.facet.approx.date

Examples of com.pearson.entech.elasticsearch.search.facet.approx.date.DistinctQueryResultChecker


            return _distinctField;
        }

        @Override
        public CountingQueryResultChecker buildChecker() {
            return new DistinctQueryResultChecker(_index, _dtField, client(), _tolerance);
        }
View Full Code Here


        // temp workaround for investigating weird bug
        @Override
        protected void checkHeaders(final Facet facet) {
            try {
                super.checkHeaders(facet);
                final DistinctQueryResultChecker checker = (DistinctQueryResultChecker) getChecker();
                final HasDistinct castFacet = (HasDistinct) facet;
                checker.checkTotalDistinctCount(castFacet.getDistinctCount());
            } catch(final AssertionError e) {
                System.out.println("WARNING: Validation failed, cause: " + e);
            }
        }
View Full Code Here

TOP

Related Classes of com.pearson.entech.elasticsearch.search.facet.approx.date.DistinctQueryResultChecker

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.