All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.search.FullTextSession Maven / Gradle / Ivy

Go to download

Helper to migrate from Hibernate Search 5 to 6, providing partial support for Hibernate Search 5 ORM APIs on top of Hibernate Search 6

There is a newer version: 8.0.0.Alpha1
Show newest version
/*
 * 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