Examples of IntFacetResultsHandler


Examples of org.apache.lucene.facet.search.IntFacetResultsHandler

    private FacetResultsHandler createFacetResultsHandler(FacetRequest fr) {
        if (fr.getDepth() == 1 && fr.getSortOrder() == SortOrder.DESCENDING) {
            FacetArraysSource fas = fr.getFacetArraysSource();
            if (fas == FacetArraysSource.INT) {
                return new IntFacetResultsHandler(taxonomyReader, fr, facetArrays);
            }

            if (fas == FacetArraysSource.FLOAT) {
                return new FloatFacetResultsHandler(taxonomyReader, fr, facetArrays);
            }
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.