public interface DirectoryCreationContext
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.search.util.common.reporting.EventContext |
getEventContext() |
String |
getIndexName() |
Optional<String> |
getShardId() |
void |
initializeIndexIfNeeded(Directory directory)
Initialize the Lucene Directory if it isn't already.
|
org.hibernate.search.util.common.reporting.EventContext getEventContext()
String getIndexName()
void initializeIndexIfNeeded(Directory directory) throws IOException
directory - the Directory to initializeIOException - If an IOException is thrown while initializing the index.org.hibernate.search.util.common.SearchException - In case of lock acquisition timeouts, IOException, or if a corrupt index is foundCopyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.