Interface AutomaticIndexingMappingContext
public interface AutomaticIndexingMappingContext
-
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.search.engine.backend.common.spi.EntityReferenceFactoryorg.hibernate.search.engine.reporting.FailureHandler
-
Method Details
-
sessionFactory
SessionFactoryImplementor sessionFactory()- Returns:
- The Hibernate ORM
SessionFactory.
-
failureHandler
org.hibernate.search.engine.reporting.FailureHandler failureHandler()- Returns:
- A failure handler, to report indexing errors in background processes.
-
tenancyConfiguration
TenancyConfiguration tenancyConfiguration() -
createIndexingQueueEventProcessingPlan
- Parameters:
session- A Hibernate ORMSessioncreated from the samesessionFactory()as this mapping.- Returns:
- An event processing plan for the given session.
It will not get executed automatically: you need to call
AutomaticIndexingQueueEventProcessingPlan.executeAndReport(OperationSubmitter), which is asynchronous and returns a future.
-
entityReferenceFactory
org.hibernate.search.engine.backend.common.spi.EntityReferenceFactory entityReferenceFactory()
-