Interface EsPhysicalOperationProviders.ShardContext
- All Superinterfaces:
ShardContext
- All Known Implementing Classes:
EsPhysicalOperationProviders.DefaultShardContext
- Enclosing class:
EsPhysicalOperationProviders
Context of each shard we're operating against.
-
Method Summary
Modifier and TypeMethodDescriptionblockLoader(String name, boolean asUnsupportedSource, MappedFieldType.FieldExtractPreference fieldExtractPreference) Returns something to load values from this field into aBlock.Build something to load source_source.doubleTuning parameter for deciding when to use the "merge" stored field loader.org.apache.lucene.search.QuerytoQuery(QueryBuilder queryBuilder) Convert aQueryBuilderinto a reallucene query.Methods inherited from interface org.elasticsearch.compute.lucene.ShardContext
buildSort, index, searcher, shardIdentifier
-
Method Details
-
newSourceLoader
SourceLoader newSourceLoader()Build something to load source_source. -
toQuery
Convert aQueryBuilderinto a reallucene query. -
blockLoader
BlockLoader blockLoader(String name, boolean asUnsupportedSource, MappedFieldType.FieldExtractPreference fieldExtractPreference) Returns something to load values from this field into aBlock. -
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 of1means I have to be exactly a sequential block, like0, 1, 2, 3, .. 1299, 1300. A value of.2means we'll use the sequential reader even if we only need one in ten documents.
-