public abstract class SearchConfigurationBase extends Object implements SearchConfiguration
SearchConfiguration
interface,
in that case we can add default implementations here to avoid breaking
integration code.Constructor and Description |
---|
SearchConfigurationBase() |
Modifier and Type | Method and Description |
---|---|
IndexManagerFactory |
getIndexManagerFactory() |
InstanceInitializer |
getInstanceInitializer() |
boolean |
isIdProvidedImplicit() |
boolean |
isIndexMetadataComplete()
Safest to default to false.
|
boolean |
isTransactionManagerExpected()
Safest to default to true.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassMapping, getClassMappings, getProgrammaticMapping, getProperties, getProperty, getProvidedServices, getReflectionManager
public boolean isTransactionManagerExpected()
isTransactionManagerExpected
in interface SearchConfiguration
false
Search will avoid logging such warnings.public boolean isIndexMetadataComplete()
isIndexMetadataComplete
in interface SearchConfiguration
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.public InstanceInitializer getInstanceInitializer()
getInstanceInitializer
in interface SearchConfiguration
public boolean isIdProvidedImplicit()
isIdProvidedImplicit
in interface SearchConfiguration
true
if we should treat indexed entities as implicitly annotated
with a ProvidedId
, if no other Id is specified.public IndexManagerFactory getIndexManagerFactory()
getIndexManagerFactory
in interface SearchConfiguration
Copyright © 2006–2014 Hibernate. All rights reserved.