org.hibernate.search.FullTextSession Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-orm Show documentation
Show all versions of hibernate-search-orm Show documentation
Hibernate Search integration with Hibernate Core
/*
* Hibernate Search, full-text search for your domain model
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.search;
import org.hibernate.Session;
import org.hibernate.search.jpa.FullTextEntityManager;
import org.hibernate.search.query.engine.spi.QueryDescriptor;
/**
* Extends the Hibernate {@link Session} with fulltext search and indexing capabilities.
*
* @author Emmanuel Bernard
*/
public interface FullTextSession extends Session, FullTextEntityManager {
@Override
FullTextQuery createFullTextQuery(org.apache.lucene.search.Query luceneQuery, Class>... entities);
@Override
FullTextQuery createFullTextQuery(QueryDescriptor descriptor, Class>... entities);
@Override
FullTextSharedSessionBuilder sessionWithOptions();
}