A B C E F G H I L M N O P S T U 
All Classes All Packages

A

applyFetchGraph(RootGraph) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
applyGraph(RootGraph, GraphSemantic) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
applyLoadGraph(RootGraph) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
autoClose() - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
 
autoClose(boolean) - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
autoJoinTransactions() - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
 
autoJoinTransactions(boolean) - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
 

B

batchSizeToLoadObjects(int) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
Sets the batch size used to load the root entities.
buildQueryBuilder() - Method in interface org.hibernate.search.SearchFactory
Deprecated.
See the deprecation note on QueryBuilder for predicates ("queries") SortContext for sorts, FacetContext for aggregations ("facets").

C

cacheMode(CacheMode) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
Sets the cache interaction mode for the data loading tasks.
connection() - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
 
connection(Connection) - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
 
connectionReleaseMode() - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
connectionReleaseMode(ConnectionReleaseMode) - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
createFullTextQuery(Query, Class<?>...) - Method in interface org.hibernate.search.FullTextSession
Deprecated.
 
createFullTextQuery(Query, Class<?>...) - Method in interface org.hibernate.search.jpa.FullTextEntityManager
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), then create a SearchQuery with SearchSession.search(Class). If you really need an adapter to Hibernate ORM's Query type, convert that SearchQuery using Search.toOrmQuery(SearchQuery), but be aware that only part of the contract is implemented. Refer to the migration guide for more information.
createIndexer(Class<?>...) - Method in interface org.hibernate.search.jpa.FullTextEntityManager
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(Session), then create a mass indexer with SearchSession.massIndexer(Class[]). Refer to the migration guide for more information.

E

explain(Object) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), convert it to a LuceneSearchQuery by passing LuceneExtension.get() to SearchQuery.extension(SearchQueryExtension), and get the explanation using LuceneSearchQuery.explain(Object). Note the explain methods now expect an entity ID, not the internal Lucene docId. Refer to the migration guide for more information.

F

flushBeforeCompletion() - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
flushBeforeCompletion(boolean) - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
flushToIndexes() - Method in interface org.hibernate.search.jpa.FullTextEntityManager
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), then get the indexing plan for that session using SearchSession.indexingPlan(), then force the immediate execution of indexing operations using SearchIndexingPlan.execute().
FullTextEntityManager - Interface in org.hibernate.search.jpa
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager). Refer to the migration guide for more information.
FullTextQuery - Interface in org.hibernate.search
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(Session), then create a SearchQuery with SearchSession.search(Class). If you really need an adapter to Hibernate ORM's Query type, convert that SearchQuery using Search.toOrmQuery(SearchQuery), but be aware that only part of the contract is implemented. Refer to the migration guide for more information.
FullTextQuery - Interface in org.hibernate.search.jpa
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), then create a SearchQuery with SearchSession.search(Class). If you really need an adapter to JPA's Query, convert that SearchQuery using Search.toJpaQuery(SearchQuery), but be aware that only part of the contract is implemented. Refer to the migration guide for more information.
FullTextSession - Interface in org.hibernate.search
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(Session). Refer to the migration guide for more information.
FullTextSharedSessionBuilder - Interface in org.hibernate.search
Deprecated.
Will be removed without replacement, as Hibernate Search sessions (SearchSession) no longer extend JPA's EntityManager interface or Hibernate ORM's Session. To get access to a Hibernate Search 6 session, use Search.session(Session).

G

getAnalyzer(Class<?>) - Method in interface org.hibernate.search.SearchFactory
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchMapping using Search.mapping(javax.persistence.EntityManagerFactory), or Search.mapping(SessionFactory), then get access to the entity metadata using SearchMapping.indexedEntity(Class), then get the corresponding index using SearchIndexedEntity.indexManager(), then convert it to a LuceneIndexManager using IndexManager.unwrap(Class), then get the analyzer using LuceneIndexManager.searchAnalyzer(). Refer to the migration guide for more information.
getAnalyzer(String) - Method in interface org.hibernate.search.SearchFactory
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchMapping using Search.mapping(javax.persistence.EntityManagerFactory), or Search.mapping(SessionFactory), then get access to the backend using SearchMapping.backend(), then convert it to a LuceneBackend using Backend.unwrap(Class), then get the analyzer using LuceneBackend.analyzer(String). Refer to the migration guide for more information.
getFacetManager() - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and define your facets (now called aggregations) using SearchQueryOptionsStep.aggregation(AggregationKey, Function). You can then fetch the query result using SearchFetchable.fetch(Integer) and get each aggregation using SearchResult.aggregation(AggregationKey). Refer to the migration guide for more information.
getFullTextEntityManager(EntityManager) - Static method in class org.hibernate.search.jpa.Search
Deprecated.
getFullTextSession(Session) - Static method in class org.hibernate.search.Search
Deprecated.
getIndexedTypes() - Method in interface org.hibernate.search.SearchFactory
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchMapping using Search.mapping(javax.persistence.EntityManagerFactory), or Search.mapping(SessionFactory), then get access to the entity metadata using SearchMapping.allIndexedEntities().
getResultSize() - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and get the total hit count ("result size") using SearchFetchable.fetchTotalHitCount(). Refer to the migration guide for more information.
getSearchFactory() - Method in interface org.hibernate.search.jpa.FullTextEntityManager
Deprecated.
See the deprecation note on SearchFactory.

H

hasPartialResults() - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), set a "truncation" timeout using SearchQueryOptionsStep.truncateAfter(long, TimeUnit), and get the SearchResult with SearchFetchable.fetch(Integer). You'll be able to check whether the result is partial or not using SearchResult.timedOut(). Refer to the migration guide for more information.

I

idFetchSize(int) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
Specifies the fetch size to be used when loading primary keys if objects to be indexed.
index(T) - Method in interface org.hibernate.search.jpa.FullTextEntityManager
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), then get the indexing plan for that session using SearchSession.indexingPlan(), then add/update/remove entities to/from the index using SearchIndexingPlan.addOrUpdate(Object), SearchIndexingPlan.delete(Object), or SearchIndexingPlan.purge(Class, Object, String).
initializeObjectsWith(ObjectLookupMethod, DatabaseRetrievalMethod) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
initializeObjectsWith(ObjectLookupMethod, DatabaseRetrievalMethod) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and define your loading options using SearchQueryOptionsStep.loading(Consumer). To set the equivalent to ObjectLookupMethod in Hibernate Search 6, use SearchLoadingOptionsStep.cacheLookupStrategy(EntityLoadingCacheLookupStrategy). Refer to the migration guide for more information.
interceptor() - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
 
interceptor(Interceptor) - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
 

L

limitExecutionTimeTo(long, TimeUnit) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
limitExecutionTimeTo(long, TimeUnit) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), set a "truncation" timeout using SearchQueryOptionsStep.truncateAfter(long, TimeUnit), and get the SearchResult with SearchFetchable.fetch(Integer). You'll be able to check whether the result is partial or not using SearchResult.timedOut(). Refer to the migration guide for more information.
limitIndexedObjectsTo(long) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
EXPERIMENTAL method: will probably change Will stop indexing after having indexed a set amount of objects.

M

MassIndexer - Interface in org.hibernate.search
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(Session), then create a mass indexer with SearchSession.massIndexer(Class[]). Refer to the migration guide for more information.

N

noInterceptor() - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
 

O

openSession() - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
 
optimize() - Method in interface org.hibernate.search.SearchFactory
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchScope using SearchSession.scope(Class) or SearchMapping.scope(Class), then a SearchWorkspace using SearchScope.workspace(), then call SearchWorkspace.mergeSegments() to "optimize" all indexes in scope.
optimize(Class<?>) - Method in interface org.hibernate.search.SearchFactory
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchScope using SearchSession.scope(Class) or SearchMapping.scope(Class), then a SearchWorkspace using SearchScope.workspace(), then call SearchWorkspace.mergeSegments() to "optimize" all indexes in scope.
optimizeAfterPurge(boolean) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
If index optimization should be run before starting, after the purgeAll.
optimizeOnFinish(boolean) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
If index optimization has to be started at the end of the indexing process.
org.hibernate.search - package org.hibernate.search
 
org.hibernate.search.jpa - package org.hibernate.search.jpa
 

P

progressMonitor(MassIndexerProgressMonitor) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
Override the default MassIndexerProgressMonitor.
purge(Class<T>, Serializable) - Method in interface org.hibernate.search.jpa.FullTextEntityManager
Deprecated.
To purge all instances of a given type, see the deprecation note on FullTextEntityManager.purgeAll(Class). To purge a specific instance, instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), then get the indexing plan for that session using SearchSession.indexingPlan(), then add/update/remove entities to/from the index using SearchIndexingPlan.addOrUpdate(Object), SearchIndexingPlan.delete(Object), or SearchIndexingPlan.purge(Class, Object, String).
purgeAll(Class<T>) - Method in interface org.hibernate.search.jpa.FullTextEntityManager
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchScope using SearchSession.scope(Class) or SearchMapping.scope(Class), then a SearchWorkspace using SearchScope.workspace(), then call SearchWorkspace.purge() to purge all indexes in scope.
purgeAllOnStart(boolean) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
If all entities should be removed from the index before starting using purgeAll.

S

Search - Class in org.hibernate.search.jpa
Deprecated.
Use Search instead.
Search - Class in org.hibernate.search
Deprecated.
Use Search instead.
SearchFactory - Interface in org.hibernate.search
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchMapping using Search.mapping(javax.persistence.EntityManagerFactory), or Search.mapping(SessionFactory). See the individual methods for the replacement of each method. Refer to the migration guide for more information.
sessionWithOptions() - Method in interface org.hibernate.search.FullTextSession
Deprecated.
 
setFetchSize(int) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and define your loading options using SearchQueryOptionsStep.loading(Consumer). To set the equivalent to FullTextQuery.setFetchSize(int) in Hibernate Search 6, use SearchLoadingOptionsStep.fetchSize(int). Refer to the migration guide for more information.
setFirstResult(int) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
setFirstResult(int) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and pass the hit offset ("firstResult") when fetching results using SearchFetchable.fetch(Integer), SearchFetchable.fetch(Integer, Integer), SearchFetchable.fetchHits(Integer) or SearchFetchable.fetch(Integer, Integer).
setFlushMode(FlushModeType) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
setFlushMode(FlushModeType) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
 
setHint(String, Object) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
setHint(String, Object) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
 
setMaxResults(int) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
setMaxResults(int) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and pass the hit limit ("maxResults") when fetching results using SearchFetchable.fetch(Integer), SearchFetchable.fetch(Integer, Integer), SearchFetchable.fetchHits(Integer) or SearchFetchable.fetch(Integer, Integer).
setProjection(String...) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
setProjection(String...) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and define your projections using SearchQuerySelectStep.select(Function). Refer to the migration guide for more information.
setResultTransformer(ResultTransformer) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(Session), create a search query with SearchSession.search(Class), and define your projections using SearchQuerySelectStep.select(Function). See in particular the composite projection, which allows applying a function to another projection: SearchProjectionFactory.composite(Function, ProjectionFinalStep). Refer to the migration guide for more information.
setResultTransformer(ResultTransformer) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and define your projections using SearchQuerySelectStep.select(Function). See in particular the composite projection, which allows applying a function to another projection: SearchProjectionFactory.composite(Function, ProjectionFinalStep). Refer to the migration guide for more information.
setSort(Sort) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
setSort(Sort) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and define your sorts using SearchQueryOptionsStep.sort(Function). Refer to the migration guide for more information.
setSpatialParameters(double, double, String) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
setSpatialParameters(double, double, String) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and define your projections using SearchQuerySelectStep.select(Function). See in particular the distance projection: SearchProjectionFactory.distance(String, GeoPoint). Refer to the migration guide for more information.
setSpatialParameters(Coordinates, String) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
setSpatialParameters(Coordinates, String) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and define your projections using SearchQuerySelectStep.select(Function). See in particular the distance projection: SearchProjectionFactory.distance(String, GeoPoint). Refer to the migration guide for more information.
setTimeout(long, TimeUnit) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
setTimeout(long, TimeUnit) - Method in interface org.hibernate.search.jpa.FullTextQuery
Deprecated.
Instead of using Hibernate Search 5 APIs, get a SearchSession using Search.session(EntityManager), create a search query with SearchSession.search(Class), and set a "failure" timeout using SearchQueryOptionsStep.failAfter(long, TimeUnit). Refer to the migration guide for more information.
start() - Method in interface org.hibernate.search.MassIndexer
Deprecated.
Starts the indexing process in background (asynchronous).
startAndWait() - Method in interface org.hibernate.search.MassIndexer
Deprecated.
Starts the indexing process, and then block until it's finished.

T

tenantIdentifier(String) - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
 
threadsForSubsequentFetching(int) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
Being ignored: this method will be removed.
threadsToLoadObjects(int) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
Set the number of threads to be used to load the root entities.
transactionContext() - Method in interface org.hibernate.search.FullTextSharedSessionBuilder
Deprecated.
transactionTimeout(int) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
Timeout of transactions for loading ids and entities to be re-indexed.
typesToIndexInParallel(int) - Method in interface org.hibernate.search.MassIndexer
Deprecated.
Sets the number of entity types to be indexed in parallel.

U

unwrap(Class<T>) - Method in interface org.hibernate.search.FullTextQuery
Deprecated.
 
unwrap(Class<T>) - Method in interface org.hibernate.search.SearchFactory
Deprecated.
Unwraps some internal Hibernate Search types.
A B C E F G H I L M N O P S T U 
All Classes All Packages