public interface BackendImplementor<D extends DocumentElement> extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
IndexManagerBuilder<D> |
createIndexManagerBuilder(String indexName,
boolean multiTenancyEnabled,
BackendBuildContext context,
ConfigurationPropertySource propertySource) |
Backend |
toAPI() |
Backend toAPI()
IndexManagerBuilder<D> createIndexManagerBuilder(String indexName, boolean multiTenancyEnabled, BackendBuildContext context, ConfigurationPropertySource propertySource)
indexName - The name of the index from the point of view of Hibernate Search.
A slightly different name may be used by the backend internally,
but indexName is the one that will appear everywhere the index is mentioned to the user.multiTenancyEnabled - true if multi-tenancy is enabled for this index, false otherwise.context - The build contextpropertySource - A configuration property source, appropriately masked so that the backend
doesn't need to care about Hibernate Search prefixes (hibernate.search.*, etc.). All the properties
can be accessed at the root.
CAUTION: the property keys listed in IndexSettings,
in particular ,
are reserved for use by the engine.void close()
close in interface AutoCloseableCopyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.