public interface StreamingOperationExecutor
IndexManager.performStreamOperation(LuceneWork, IndexingMonitor, boolean)so it's suited for streams of many LuceneWork operations which don't need strict ordering.
void performStreamOperation(LuceneWork work, IndexShardingStrategy shardingStrategy, IndexingMonitor monitor, boolean forceAsync)
work- the work to split.
shardingStrategy- the Sharding strategy is usually needed to identify affected Directories.
monitor- to receive notification of indexing operations
forceAsync- if true, the invocation will not block to wait for it being applied. When false this will depend on the backend configuration.
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved