Package org.springframework.data.solr.core.query

Examples of org.springframework.data.solr.core.query.SimpleFacetQuery


    fq.setFacetOptions(new FacetOptions(facetQueries));
    return fq;
  }

  private FacetQuery createFacetQuery(String... facetFields) {
    FacetQuery fq = new SimpleFacetQuery(new Criteria(facetFields[0]));
    fq.setFacetOptions(new FacetOptions(facetFields));
    return fq;
  }
View Full Code Here


    fq.setFacetOptions(new FacetOptions(facetFields));
    return fq;
  }

  private FacetQuery createFacetPivotQuery(String... pivotFieldNames) {
    FacetQuery fq = new SimpleFacetQuery(new Criteria("field_1"));
    fq.setFacetOptions(new FacetOptions().addFacetOnPivot(pivotFieldNames));
    return fq;
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.solr.core.query.SimpleFacetQuery

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.