Package org.hibernate.search.query.dsl

Examples of org.hibernate.search.query.dsl.QueryContextBuilder


  private SingleEntityQueryBuilder<Query> queryBuilder;

  @Before
  public void setupQueryBuilder() {
    SearchFactoryIntegrator searchFactory = factoryHolder.getSearchFactory();
    QueryContextBuilder queryContextBuilder = searchFactory.buildQueryBuilder();
    EntityNamesResolver nameResolver = MapBasedEntityNamesResolver.forClasses( IndexedEntity.class );
    PropertyHelper propertyHelper = new ClassBasedLucenePropertyHelper( searchFactory, nameResolver );

    queryBuilder = SingleEntityQueryBuilder.getInstance(
        new LucenePredicateFactory( queryContextBuilder, nameResolver ),
View Full Code Here

TOP

Related Classes of org.hibernate.search.query.dsl.QueryContextBuilder

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.