org.hibernate.search.cfg.spi
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, waitgetClassMapping, getClassMappings, getProgrammaticMapping, getProperties, getProperty, getProvidedServices, getReflectionManagerpublic boolean isTransactionManagerExpected()
isTransactionManagerExpected in interface SearchConfigurationfalse Search will avoid logging such warnings.public boolean isIndexMetadataComplete()
isIndexMetadataComplete in interface SearchConfigurationtrue 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 SearchConfigurationpublic boolean isIdProvidedImplicit()
isIdProvidedImplicit in interface SearchConfigurationtrue if we should treat indexed entities as implicitly annotated
with a ProvidedId, if no other Id is specified.public IndexManagerFactory getIndexManagerFactory()
getIndexManagerFactory in interface SearchConfigurationCopyright © 2006-2015 Red Hat, Inc. All Rights Reserved