Module org.elasticsearch.compute
Package org.elasticsearch.compute.lucene
package org.elasticsearch.compute.lucene
-
ClassDescriptionAn implementation which always returns
RefCounted.ALWAYS_REFERENCEDfor any shard ID.How we partition the data acrossDrivers.Ceci n'est pas une List (though it may be backed by one).AnIndexedByShardIdused by only in tests, but placed here so it's visible for all test modules.A simple implementation when there's only a single value being used.Source operator that incrementally counts the results in Lucene searches Returns always one entry that mimics the Count aggregation internal state: 1.Factory that generates an operator that finds the max value of a field using theLuceneMinMaxOperator.Factory that generates an operator that finds the min value of a field using theLuceneMinMaxOperator.LuceneQueryEvaluator<T extends Block.Builder>Base class for evaluating a Lucene query at the compute engine and providing a Block as a result.EvalOperator.ExpressionEvaluatorto run a LuceneQueryduring the compute engine's normal execution, yielding matches/does not match into aBooleanVector.ScoreOperator.ExpressionScorerto run a LuceneQueryduring the compute engine's normal execution, yielding the corresponding scores into aDoubleVector.Holds a list of multiple partial Lucene segmentsShared Lucene slices between Lucene operators.Strategy used to partition each shard into slices.Query to run and tags to add to the results.Source operator that incrementally runs Lucene searchesSource operator that builds Pages out of the output of a TopFieldCollector (aka TopN).A subset of aLeafReaderContext.Context of each shard we're operating against.Extension ofLuceneSourceOperatorfor time-series aggregation that inserts metadata blocks, such as slice index and future max timestamp, to allow downstream operators to optimize processing.