Interface EsPhysicalOperationProviders.ShardContext

All Superinterfaces:
ShardContext
All Known Implementing Classes:
EsPhysicalOperationProviders.DefaultShardContext
Enclosing class:
EsPhysicalOperationProviders

public static interface EsPhysicalOperationProviders.ShardContext extends ShardContext
Context of each shard we're operating against.
  • Method Details

    • newSourceLoader

      SourceLoader newSourceLoader()
      Build something to load source _source.
    • toQuery

      org.apache.lucene.search.Query toQuery(QueryBuilder queryBuilder)
      Convert a QueryBuilder into a real lucene query.
    • blockLoader

      BlockLoader blockLoader(String name, boolean asUnsupportedSource, MappedFieldType.FieldExtractPreference fieldExtractPreference)
      Returns something to load values from this field into a Block.
    • storedFieldsSequentialProportion

      double storedFieldsSequentialProportion()
      Tuning parameter for deciding when to use the "merge" stored field loader. Think of it as "how similar to a sequential block of documents do I have to be before I'll use the merge reader?" So a value of 1 means I have to be exactly a sequential block, like 0, 1, 2, 3, .. 1299, 1300. A value of .2 means we'll use the sequential reader even if we only need one in ten documents.