public interface ShardContext
Context of each shard we're operating against.
-
Method Summary
Modifier and TypeMethodDescriptionbuildSort(List<SortBuilder<?>> sorts) Build a "sort" configuration from an Elasticsearch style builder.intindex()The index of this shard in the list of shards being processed.org.apache.lucene.search.IndexSearchersearcher()GetIndexSearcherholding the actual data.A "name" for the shard that you can look up against other APIs like_cat/shards.
-
Method Details
-
index
int index()The index of this shard in the list of shards being processed. -
searcher
org.apache.lucene.search.IndexSearcher searcher()GetIndexSearcherholding the actual data. -
buildSort
Build a "sort" configuration from an Elasticsearch style builder.- Throws:
IOException
-
shardIdentifier
String shardIdentifier()A "name" for the shard that you can look up against other APIs like_cat/shards.
-