IndexShardComponentpublic class FsDirectoryService extends DirectoryService
| Modifier and Type | Field | Description |
|---|---|---|
static Setting<org.apache.lucene.store.LockFactory> |
INDEX_LOCK_FACTOR_SETTING |
|
protected IndexStore |
indexStore |
deprecationLogger, indexSettings, logger, shardId| Constructor | Description |
|---|---|
FsDirectoryService(IndexSettings indexSettings,
IndexStore indexStore,
ShardPath path) |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.lucene.store.Directory |
newDirectory() |
|
protected org.apache.lucene.store.Directory |
newFSDirectory(java.nio.file.Path location,
org.apache.lucene.store.LockFactory lockFactory) |
indexSettings, nodeName, shardIdprotected final IndexStore indexStore
public static final Setting<org.apache.lucene.store.LockFactory> INDEX_LOCK_FACTOR_SETTING
@Inject public FsDirectoryService(IndexSettings indexSettings, IndexStore indexStore, ShardPath path)
public org.apache.lucene.store.Directory newDirectory()
throws java.io.IOException
newDirectory in class DirectoryServicejava.io.IOExceptionprotected org.apache.lucene.store.Directory newFSDirectory(java.nio.file.Path location,
org.apache.lucene.store.LockFactory lockFactory)
throws java.io.IOException
java.io.IOException