Package | Description |
---|---|
org.infinispan.lucene.directory |
Builder for Lucene Directory implementation which stores the index in Infinispan.
|
Modifier and Type | Method and Description |
---|---|
BuildContext |
BuildContext.affinityLocationIntoSegment(int segmentId)
When set to a positive integer, this will force a specific data distribution:
the hashing function will resolve all keys used to store the various entries
for the resulting index to be owned by the specified segment id.
|
BuildContext |
BuildContext.chunkSize(int bytes)
Sets the chunkSize option for the Directory being created.
|
BuildContext |
BuildContext.deleteOperationsExecutor(Executor executor)
Provides an Executor to handle delete operations in a background thread
|
static BuildContext |
DirectoryBuilder.newDirectoryInstance(Cache<?,?> metadataCache,
Cache<?,?> chunksCache,
Cache<?,?> distLocksCache,
String indexName)
Starting point to create a Directory instance.
|
BuildContext |
BuildContext.overrideSegmentReadLocker(SegmentReadLocker srl)
Overrides the default SegmentReadLocker.
|
BuildContext |
BuildContext.overrideWriteLocker(org.apache.lucene.store.LockFactory lf)
Overrides the IndexWriter LockFactory
|
BuildContext |
BuildContext.writeFileListAsynchronously(boolean writeFileListAsync)
When set to true, the list of files of the Directory is propagated to other nodes
asynchronously.
|
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.