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-v5migrationhelper-orm Show documentation
Show all versions of hibernate-search-v5migrationhelper-orm Show documentation
Helper to migrate from Hibernate Search 5 to 6, providing partial support for Hibernate Search 5 ORM APIs on top of Hibernate Search 6
/*
* 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.mapper.orm.session.SearchSession;
/**
* Extends the Hibernate {@link Session} with fulltext search and indexing capabilities.
*
* @author Emmanuel Bernard
* @deprecated Instead of using Hibernate Search 5 APIs, get a {@link SearchSession}
* using {@link org.hibernate.search.mapper.orm.Search#session(Session)}.
* Refer to the migration guide for more information.
*/
@Deprecated
public interface FullTextSession extends Session, FullTextEntityManager {
@Override
FullTextQuery createFullTextQuery(org.apache.lucene.search.Query luceneQuery, Class>... entities);
@Override
FullTextSharedSessionBuilder sessionWithOptions();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy