org.hibernate.search.spi
public interface WorkerBuildContext extends BuildContext
Modifier and Type | Method and Description |
---|---|
InstanceInitializer |
getInstanceInitializer() |
boolean |
isDeleteByTermEnforced() |
boolean |
isIndexMetadataComplete() |
boolean |
isTransactionManagerExpected() |
getAllIndexesManager, getErrorHandler, getIndexingStrategy, getServiceManager, getUninitializedSearchFactory, releaseService, requestService
boolean isTransactionManagerExpected()
true
if a transaction manager is expected, false
otherwise.SearchConfiguration.isTransactionManagerExpected()
boolean isIndexMetadataComplete()
true
if it is safe to assume that the information we have about
index metadata is accurate. This should be set to false for example if the index
could contain Documents related to types not known to this SearchFactory instance.SearchConfiguration.isIndexMetadataComplete()
boolean isDeleteByTermEnforced()
true
if regardless of isIndexMetadataComplete
and the number
of types present in the index it is safe to delete by term given that the underlying
store guarantees uniqueness of idsInstanceInitializer getInstanceInitializer()
InstanceInitializer
interface.Copyright © 2006–2015 Hibernate. All rights reserved.