Class SearchShardIterator

    • Constructor Detail

      • SearchShardIterator

        public SearchShardIterator​(java.lang.String clusterAlias,
                                   ShardId shardId,
                                   java.util.List<ShardRouting> shards,
                                   OriginalIndices originalIndices)
        Creates a PlainShardIterator instance that iterates over a subset of the given shards this the a given shardId.
        shardId - shard id of the group
        shards - shards to iterate
    • Method Detail

      • getOriginalIndices

        public OriginalIndices getOriginalIndices()
        Returns the original indices associated with this shard iterator, specifically with the cluster that this shard belongs to.
      • getClusterAlias

        public java.lang.String getClusterAlias()