public interface StreamingOperationSelectionDelegate
IndexManager.performStreamOperation(LuceneWork, IndexingMonitor, boolean)
so it's suited for streams of many LuceneWork operations which don't need strict ordering.Modifier and Type | Method and Description |
---|---|
void |
performStreamOperation(LuceneWork work,
IndexShardingStrategy shardingStrategy,
IndexingMonitor monitor,
boolean forceAsync)
The LuceneWork must be applied to different indexes.
|
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 operationsforceAsync
- if true, the invocation will not block to wait for it being applied.
When false this will depend on the backend configuration.Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved