Package org.hibernate.search.query.facet

Examples of org.hibernate.search.query.facet.FacetRequest


  void setIncludeZeroCount(boolean includeZeroCount) {
    this.includeZeroCount = includeZeroCount;
  }

  FacetRequest getFacetRequest() {
    FacetRequest request = null;
    if ( isRangeQuery ) {
      // request = ...
    }
    else {
      request = new DiscreteFacetRequest( name, fieldName );
    }
    request.setSort( sort );
    request.setIncludeZeroCounts( includeZeroCount );
    return request;
  }
View Full Code Here

TOP

Related Classes of org.hibernate.search.query.facet.FacetRequest

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.