org.elasticsearch.index.routing
Interface OperationRouting
- All Known Implementing Classes:
- PlainOperationRouting
public interface OperationRouting
indexShards
ShardsIterator indexShards(ClusterState clusterState,
java.lang.String type,
java.lang.String id)
throws IndexMissingException,
IndexShardMissingException
- Throws:
IndexMissingException
IndexShardMissingException
deleteShards
ShardsIterator deleteShards(ClusterState clusterState,
java.lang.String type,
java.lang.String id)
throws IndexMissingException,
IndexShardMissingException
- Throws:
IndexMissingException
IndexShardMissingException
getShards
ShardsIterator getShards(ClusterState clusterState,
java.lang.String type,
java.lang.String id)
throws IndexMissingException,
IndexShardMissingException
- Throws:
IndexMissingException
IndexShardMissingException
deleteByQueryShards
GroupShardsIterator deleteByQueryShards(ClusterState clusterState)
throws IndexMissingException
- Returns the shards grouped by shard
- Throws:
IndexMissingException
searchShards
GroupShardsIterator searchShards(ClusterState clusterState,
@Nullable
java.lang.String queryHint)
throws IndexMissingException
- Throws:
IndexMissingException