Package org.apache.blur.lucene.search

Examples of org.apache.blur.lucene.search.FacetQuery


  private Query getFacetedQuery(BlurQuery blurQuery, Query userQuery, AtomicLongArray counts,
      FieldManager fieldManager, TableContext context, Filter postFilter, Filter preFilter) throws ParseException {
    if (blurQuery.facets == null) {
      return userQuery;
    }
    return new FacetQuery(userQuery, getFacetQueries(blurQuery, fieldManager, context, postFilter, preFilter), counts);
  }
View Full Code Here


      Query facetedQuery;
      FacetExecutor executor = null;
      if (blurQuery.facets != null) {
        long[] facetMinimums = getFacetMinimums(blurQuery.facets);
        executor = new FacetExecutor(blurQuery.facets.size(), facetMinimums, facetedCounts, running);
        facetedQuery = new FacetQuery(userQuery, getFacetQueries(blurQuery, fieldManager, context, rowFilterForSearch,
            recordFilterForSearch), executor);
      } else {
        facetedQuery = userQuery;
      }
View Full Code Here

TOP

Related Classes of org.apache.blur.lucene.search.FacetQuery

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.