A B C E F G H I L M N O P S T U
All Classes All Packages
All Classes All Packages
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
QueryBuilderfor predicates ("queries")SortContextfor sorts,FacetContextfor 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
SearchSessionusingSearch.session(EntityManager), then create aSearchQuerywithSearchSession.search(Class). If you really need an adapter to Hibernate ORM'sQuerytype, convert thatSearchQueryusingSearch.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
SearchSessionusingSearch.session(Session), then create a mass indexer withSearchSession.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), convert it to aLuceneSearchQueryby passingLuceneExtension.get()toSearchQuery.extension(SearchQueryExtension), and get the explanation usingLuceneSearchQuery.explain(Object). Note theexplainmethods 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
SearchSessionusingSearch.session(EntityManager), then get the indexing plan for that session usingSearchSession.indexingPlan(), then force the immediate execution of indexing operations usingSearchIndexingPlan.execute(). - FullTextEntityManager - Interface in org.hibernate.search.jpa
-
Deprecated.Instead of using Hibernate Search 5 APIs, get a
SearchSessionusingSearch.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
SearchSessionusingSearch.session(Session), then create aSearchQuerywithSearchSession.search(Class). If you really need an adapter to Hibernate ORM'sQuerytype, convert thatSearchQueryusingSearch.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
SearchSessionusingSearch.session(EntityManager), then create aSearchQuerywithSearchSession.search(Class). If you really need an adapter to JPA'sQuery, convert thatSearchQueryusingSearch.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
SearchSessionusingSearch.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'sEntityManagerinterface or Hibernate ORM'sSession. To get access to a Hibernate Search 6 session, useSearch.session(Session).
G
- getAnalyzer(Class<?>) - Method in interface org.hibernate.search.SearchFactory
-
Deprecated.Instead of using Hibernate Search 5 APIs, get a
SearchMappingusingSearch.mapping(javax.persistence.EntityManagerFactory), orSearch.mapping(SessionFactory), then get access to the entity metadata usingSearchMapping.indexedEntity(Class), then get the corresponding index usingSearchIndexedEntity.indexManager(), then convert it to aLuceneIndexManagerusingIndexManager.unwrap(Class), then get the analyzer usingLuceneIndexManager.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
SearchMappingusingSearch.mapping(javax.persistence.EntityManagerFactory), orSearch.mapping(SessionFactory), then get access to the backend usingSearchMapping.backend(), then convert it to aLuceneBackendusingBackend.unwrap(Class), then get the analyzer usingLuceneBackend.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and define your facets (now called aggregations) usingSearchQueryOptionsStep.aggregation(AggregationKey, Function). You can then fetch the query result usingSearchFetchable.fetch(Integer)and get each aggregation usingSearchResult.aggregation(AggregationKey). Refer to the migration guide for more information. - getFullTextEntityManager(EntityManager) - Static method in class org.hibernate.search.jpa.Search
-
Deprecated.Use
Search.session(EntityManager)instead. - getFullTextSession(Session) - Static method in class org.hibernate.search.Search
-
Deprecated.Use
Search.session(Session)instead. - getIndexedTypes() - Method in interface org.hibernate.search.SearchFactory
-
Deprecated.Instead of using Hibernate Search 5 APIs, get a
SearchMappingusingSearch.mapping(javax.persistence.EntityManagerFactory), orSearch.mapping(SessionFactory), then get access to the entity metadata usingSearchMapping.allIndexedEntities(). - getResultSize() - Method in interface org.hibernate.search.jpa.FullTextQuery
-
Deprecated.Instead of using Hibernate Search 5 APIs, get a
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and get the total hit count ("result size") usingSearchFetchable.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), set a "truncation" timeout usingSearchQueryOptionsStep.truncateAfter(long, TimeUnit), and get theSearchResultwithSearchFetchable.fetch(Integer). You'll be able to check whether the result is partial or not usingSearchResult.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
SearchSessionusingSearch.session(EntityManager), then get the indexing plan for that session usingSearchSession.indexingPlan(), then add/update/remove entities to/from the index usingSearchIndexingPlan.addOrUpdate(Object),SearchIndexingPlan.delete(Object), orSearchIndexingPlan.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and define your loading options usingSearchQueryOptionsStep.loading(Consumer). To set the equivalent toObjectLookupMethodin Hibernate Search 6, useSearchLoadingOptionsStep.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), set a "truncation" timeout usingSearchQueryOptionsStep.truncateAfter(long, TimeUnit), and get theSearchResultwithSearchFetchable.fetch(Integer). You'll be able to check whether the result is partial or not usingSearchResult.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
SearchSessionusingSearch.session(Session), then create a mass indexer withSearchSession.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
SearchScopeusingSearchSession.scope(Class)orSearchMapping.scope(Class), then aSearchWorkspaceusingSearchScope.workspace(), then callSearchWorkspace.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
SearchScopeusingSearchSession.scope(Class)orSearchMapping.scope(Class), then aSearchWorkspaceusingSearchScope.workspace(), then callSearchWorkspace.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 aSearchSessionusingSearch.session(EntityManager), then get the indexing plan for that session usingSearchSession.indexingPlan(), then add/update/remove entities to/from the index usingSearchIndexingPlan.addOrUpdate(Object),SearchIndexingPlan.delete(Object), orSearchIndexingPlan.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
SearchScopeusingSearchSession.scope(Class)orSearchMapping.scope(Class), then aSearchWorkspaceusingSearchScope.workspace(), then callSearchWorkspace.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
Searchinstead. - Search - Class in org.hibernate.search
-
Deprecated.Use
Searchinstead. - SearchFactory - Interface in org.hibernate.search
-
Deprecated.Instead of using Hibernate Search 5 APIs, get a
SearchMappingusingSearch.mapping(javax.persistence.EntityManagerFactory), orSearch.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and define your loading options usingSearchQueryOptionsStep.loading(Consumer). To set the equivalent toFullTextQuery.setFetchSize(int)in Hibernate Search 6, useSearchLoadingOptionsStep.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and pass the hit offset ("firstResult") when fetching results usingSearchFetchable.fetch(Integer),SearchFetchable.fetch(Integer, Integer),SearchFetchable.fetchHits(Integer)orSearchFetchable.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and pass the hit limit ("maxResults") when fetching results usingSearchFetchable.fetch(Integer),SearchFetchable.fetch(Integer, Integer),SearchFetchable.fetchHits(Integer)orSearchFetchable.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and define your projections usingSearchQuerySelectStep.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
SearchSessionusingSearch.session(Session), create a search query withSearchSession.search(Class), and define your projections usingSearchQuerySelectStep.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and define your projections usingSearchQuerySelectStep.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and define your sorts usingSearchQueryOptionsStep.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and define your projections usingSearchQuerySelectStep.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and define your projections usingSearchQuerySelectStep.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
SearchSessionusingSearch.session(EntityManager), create a search query withSearchSession.search(Class), and set a "failure" timeout usingSearchQueryOptionsStep.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.
All Classes All Packages