Package | Description |
---|---|
org.apache.lucene.facet |
Faceted search.
|
org.apache.lucene.facet.taxonomy |
Taxonomy of Categories.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.queries |
Filters and Queries that add to core Lucene.
|
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
org.apache.lucene.queries.function.docvalues |
FunctionValues for different data types.
|
org.apache.lucene.queries.function.valuesource |
A variety of functions to use with FunctionQuery.
|
org.apache.lucene.queries.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping |
Grouping.
|
org.apache.lucene.search.highlight |
Highlighting search terms.
|
org.apache.lucene.search.intervals |
Intervals queries
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.search.similarities |
This package contains the various ranking models that can be used in Lucene.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
org.apache.lucene.search.suggest |
Support for Autocomplete/Autosuggest
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
org.apache.lucene.spatial |
Lucene spatial search
|
org.apache.lucene.spatial.bbox |
Bounding Box Spatial Strategy
|
org.apache.lucene.spatial.prefix |
Prefix Tree Strategy.
|
org.apache.lucene.spatial.util |
Various spatial utilities.
|
org.apache.lucene.spatial.vector |
Spatial strategy that uses two fields.
|
Modifier and Type | Field and Description |
---|---|
LeafReaderContext |
FacetsCollector.MatchingDocs.context
Context for this segment.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FacetsCollector.doSetNextReader(LeafReaderContext context) |
Constructor and Description |
---|
MatchingDocs(LeafReaderContext context,
DocIdSet bits,
int totalHits,
float[] scores)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
OrdinalsReader.OrdinalsSegmentReader |
CachedOrdinalsReader.getReader(LeafReaderContext context) |
abstract OrdinalsReader.OrdinalsSegmentReader |
OrdinalsReader.getReader(LeafReaderContext context)
Set current atomic reader.
|
OrdinalsReader.OrdinalsSegmentReader |
DocValuesOrdinalsReader.getReader(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
LeafReaderContext |
LeafReader.getContext() |
Modifier and Type | Method and Description |
---|---|
java.util.List<LeafReaderContext> |
CompositeReaderContext.leaves() |
abstract java.util.List<LeafReaderContext> |
IndexReaderContext.leaves()
Returns the context's leaves if this context is a top-level context.
|
java.util.List<LeafReaderContext> |
IndexReader.leaves()
Returns the reader's leaves, or itself if this reader is atomic.
|
java.util.List<LeafReaderContext> |
LeafReaderContext.leaves() |
Modifier and Type | Method and Description |
---|---|
static boolean |
DocValues.isCacheable(LeafReaderContext ctx,
java.lang.String... fields)
Returns
true if the specified docvalues fields have not been updated |
Modifier and Type | Method and Description |
---|---|
static int |
ReaderUtil.subIndex(int n,
java.util.List<LeafReaderContext> leaves)
Returns index of the searcher/reader for document
n in the
array used to construct this searcher/reader. |
Modifier and Type | Field and Description |
---|---|
protected LeafReaderContext |
CustomScoreProvider.context |
Modifier and Type | Method and Description |
---|---|
protected CustomScoreProvider |
CustomScoreQuery.getCustomScoreProvider(LeafReaderContext context)
Deprecated.
Returns a
CustomScoreProvider that calculates the custom scores
for the given IndexReader . |
Modifier and Type | Method and Description |
---|---|
void |
CommonTermsQuery.collectTermContext(IndexReader reader,
java.util.List<LeafReaderContext> leaves,
TermContext[] contextArray,
Term[] queryTerms) |
Constructor and Description |
---|
CustomScoreProvider(LeafReaderContext context)
Creates a new instance of the provider class for the given
IndexReader . |
Modifier and Type | Method and Description |
---|---|
Explanation |
FunctionQuery.FunctionWeight.explain(LeafReaderContext context,
int doc) |
ValueSourceScorer |
FunctionValues.getRangeScorer(LeafReaderContext readerContext,
java.lang.String lowerVal,
java.lang.String upperVal,
boolean includeLower,
boolean includeUpper)
Yields a
Scorer that matches documents with values between the specified range,
and that which produces scores equal to FunctionValues.floatVal(int) . |
ValueSourceScorer |
FunctionValues.getScorer(LeafReaderContext readerContext)
Yields a
Scorer that matches all documents,
and that which produces scores equal to FunctionValues.floatVal(int) . |
abstract FunctionValues |
ValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext)
Gets the values for this reader and the context that was previously
passed to createWeight().
|
boolean |
FunctionQuery.FunctionWeight.isCacheable(LeafReaderContext ctx) |
Scorer |
FunctionQuery.FunctionWeight.scorer(LeafReaderContext context) |
Constructor and Description |
---|
AllScorer(LeafReaderContext context,
FunctionQuery.FunctionWeight w,
float boost) |
ValueSourceScorer(LeafReaderContext readerContext,
FunctionValues values) |
Modifier and Type | Method and Description |
---|---|
ValueSourceScorer |
DocTermsIndexDocValues.getRangeScorer(LeafReaderContext readerContext,
java.lang.String lowerVal,
java.lang.String upperVal,
boolean includeLower,
boolean includeUpper) |
ValueSourceScorer |
IntDocValues.getRangeScorer(LeafReaderContext readerContext,
java.lang.String lowerVal,
java.lang.String upperVal,
boolean includeLower,
boolean includeUpper) |
ValueSourceScorer |
DoubleDocValues.getRangeScorer(LeafReaderContext readerContext,
java.lang.String lowerVal,
java.lang.String upperVal,
boolean includeLower,
boolean includeUpper) |
ValueSourceScorer |
LongDocValues.getRangeScorer(LeafReaderContext readerContext,
java.lang.String lowerVal,
java.lang.String upperVal,
boolean includeLower,
boolean includeUpper) |
Constructor and Description |
---|
DocTermsIndexDocValues(ValueSource vs,
LeafReaderContext context,
java.lang.String field) |
Modifier and Type | Method and Description |
---|---|
protected NumericDocValues |
LongFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
DoubleFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
IntFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedDoubleFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedFloatFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedIntFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
FloatFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
protected NumericDocValues |
MultiValuedLongFieldSource.getNumericDocValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
LongFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
SumTotalTermFreqValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
TermFreqValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
TFValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
TotalTermFreqValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
ConstValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
DoubleFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
IntFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
DoubleConstValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
JoinDocFreqValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
DocFreqValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
BytesRefFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
EnumFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
DefFunction.getValues(java.util.Map fcontext,
LeafReaderContext readerContext) |
FunctionValues |
ReciprocalFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
ComparisonBoolFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
MultiFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
IfFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
QueryValueSource.getValues(java.util.Map fcontext,
LeafReaderContext readerContext) |
FunctionValues |
NormValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
NumDocsValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
BoolDocValues |
MultiBoolFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
ScaleFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
MaxDocValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
BoolDocValues |
SimpleBoolFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
LiteralValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
DualFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
FloatFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
LinearFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
SortedSetFieldSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
RangeMapFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
SimpleFloatFunction.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
VectorValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
FunctionValues |
IDFValueSource.getValues(java.util.Map context,
LeafReaderContext readerContext) |
static FunctionValues[] |
MultiFunction.valsArr(java.util.List<ValueSource> sources,
java.util.Map fcontext,
LeafReaderContext readerContext) |
Modifier and Type | Method and Description |
---|---|
Spans |
SpanPayloadCheckQuery.SpanPayloadCheckWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
boolean |
SpanPayloadCheckQuery.SpanPayloadCheckWeight.isCacheable(LeafReaderContext ctx) |
SpanScorer |
SpanPayloadCheckQuery.SpanPayloadCheckWeight.scorer(LeafReaderContext context) |
Modifier and Type | Field and Description |
---|---|
LeafReaderContext[] |
IndexSearcher.LeafSlice.leaves
The leaves that make up this slice.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<LeafReaderContext> |
IndexSearcher.leafContexts |
Modifier and Type | Method and Description |
---|---|
BulkScorer |
Weight.bulkScorer(LeafReaderContext context)
Optional method, to return a
BulkScorer to
score the query and send hits to a Collector . |
protected void |
CheckHits.SetCollector.doSetNextReader(LeafReaderContext context) |
protected void |
CheckHits.ExplanationAsserter.doSetNextReader(LeafReaderContext context) |
protected void |
CheckHits.MatchesAsserter.doSetNextReader(LeafReaderContext context) |
protected void |
FieldComparator.NumericComparator.doSetNextReader(LeafReaderContext context) |
protected void |
SimpleCollector.doSetNextReader(LeafReaderContext context)
This method is called before collecting
context . |
protected abstract void |
SimpleFieldComparator.doSetNextReader(LeafReaderContext context)
This method is called before collecting
context . |
Explanation |
ConstantScoreWeight.explain(LeafReaderContext context,
int doc) |
Explanation |
DisjunctionMaxQuery.DisjunctionMaxWeight.explain(LeafReaderContext context,
int doc)
Explain the score we computed for doc
|
abstract Explanation |
Weight.explain(LeafReaderContext context,
int doc)
An explanation of the score computation for the named document.
|
Explanation |
FilterWeight.explain(LeafReaderContext context,
int doc) |
Explanation |
DoubleValuesSource.explain(LeafReaderContext ctx,
int docId,
Explanation scoreExplanation)
An explanation of the value for the named document.
|
protected BinaryDocValues |
FieldComparator.TermValComparator.getBinaryDocValues(LeafReaderContext context,
java.lang.String field)
Retrieves the BinaryDocValues for the field in this segment
|
LeafFieldComparator[] |
FieldValueHitQueue.getComparators(LeafReaderContext context) |
protected abstract NumericDocValues |
DiversifiedTopDocsCollector.getKeys(LeafReaderContext context)
Get a source of values used for grouping keys
|
LeafCollector |
DocValuesStatsCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
DiversifiedTopDocsCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
MultiCollectorManager.Collectors.getLeafCollector(LeafReaderContext context) |
LeafCollector |
FilterCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
SimpleCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
TimeLimitingCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
MultiCollector.getLeafCollector(LeafReaderContext context) |
LeafCollector |
EarlyTerminatingSortingCollector.getLeafCollector(LeafReaderContext context)
Deprecated.
|
LeafCollector |
Collector.getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
LeafCollector |
PositiveScoresOnlyCollector.getLeafCollector(LeafReaderContext context) |
abstract LeafFieldComparator |
FieldComparator.getLeafComparator(LeafReaderContext context)
Get a per-segment
LeafFieldComparator to collect the given
LeafReaderContext . |
LeafFieldComparator |
FieldComparator.RelevanceComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
FieldComparator.DocComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
FieldComparator.TermOrdValComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
FieldComparator.TermValComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
SimpleFieldComparator.getLeafComparator(LeafReaderContext context) |
protected NumericDocValues |
FieldComparator.NumericComparator.getNumericDocValues(LeafReaderContext context,
java.lang.String field)
Retrieves the NumericDocValues for the field in this segment
|
protected SortedDocValues |
FieldComparator.TermOrdValComparator.getSortedDocValues(LeafReaderContext context,
java.lang.String field)
Retrieves the SortedDocValues for the field in this segment
|
abstract DoubleValues |
DoubleValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores)
Returns a
DoubleValues instance for the passed-in LeafReaderContext and scores
If scores are not needed to calculate the values (ie returns false , callers
may safely pass null for the scores parameter. |
abstract LongValues |
LongValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores)
Returns a
LongValues instance for the passed-in LeafReaderContext and scores
If scores are not needed to calculate the values (ie returns false , callers
may safely pass null for the scores parameter. |
protected abstract boolean |
DocValuesStats.init(LeafReaderContext context)
Initializes this object with the given reader context.
|
protected boolean |
DocValuesStats.NumericDocValuesStats.init(LeafReaderContext context) |
protected boolean |
DocValuesStats.SortedNumericDocValuesStats.init(LeafReaderContext context) |
protected boolean |
DocValuesStats.SortedDocValuesStats.init(LeafReaderContext context) |
protected boolean |
DocValuesStats.SortedSetDocValuesStats.init(LeafReaderContext context) |
boolean |
SegmentCacheable.isCacheable(LeafReaderContext ctx) |
boolean |
DisjunctionMaxQuery.DisjunctionMaxWeight.isCacheable(LeafReaderContext ctx) |
boolean |
FilterWeight.isCacheable(LeafReaderContext ctx) |
Matches |
DisjunctionMaxQuery.DisjunctionMaxWeight.matches(LeafReaderContext context,
int doc) |
Matches |
Weight.matches(LeafReaderContext context,
int doc)
Returns
Matches for a specific document, or null if the document
does not match the parent query
A query match that contains no position information (for example, a Point or
DocValues query) will return MatchesUtils.MATCH_WITH_NO_TERMS |
Matches |
FilterWeight.matches(LeafReaderContext context,
int doc) |
Scorer |
DisjunctionMaxQuery.DisjunctionMaxWeight.scorer(LeafReaderContext context)
Create the scorer used to score our associated DisjunctionMaxQuery
|
abstract Scorer |
Weight.scorer(LeafReaderContext context)
Returns a
Scorer which can iterate in order over all matching
documents and assign them a score. |
Scorer |
FilterWeight.scorer(LeafReaderContext context) |
ScorerSupplier |
Weight.scorerSupplier(LeafReaderContext context)
Optional method.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ScorerIndexSearcher.search(java.util.List<LeafReaderContext> leaves,
Weight weight,
Collector collector) |
protected void |
AssertingIndexSearcher.search(java.util.List<LeafReaderContext> leaves,
Weight weight,
Collector collector) |
protected void |
IndexSearcher.search(java.util.List<LeafReaderContext> leaves,
Weight weight,
Collector collector)
Lower-level search API.
|
protected IndexSearcher.LeafSlice[] |
IndexSearcher.slices(java.util.List<LeafReaderContext> leaves)
Expert: Creates an array of leaf slices each holding a subset of the given leaves.
|
Constructor and Description |
---|
LeafSlice(LeafReaderContext... leaves) |
Constructor and Description |
---|
LRUQueryCache(int maxSize,
long maxRamBytesUsed,
java.util.function.Predicate<LeafReaderContext> leavesToCache)
Expert: Create a new instance that will cache at most
maxSize
queries with at most maxRamBytesUsed bytes of memory, only on
leaves that satisfy leavesToCache ; |
Modifier and Type | Field and Description |
---|---|
protected LeafReaderContext |
AllGroupHeadsCollector.context |
Modifier and Type | Method and Description |
---|---|
protected void |
AllGroupsCollector.doSetNextReader(LeafReaderContext context) |
protected void |
BlockGroupingCollector.doSetNextReader(LeafReaderContext readerContext) |
protected void |
SecondPassGroupingCollector.doSetNextReader(LeafReaderContext readerContext) |
protected void |
FirstPassGroupingCollector.doSetNextReader(LeafReaderContext readerContext) |
protected void |
AllGroupHeadsCollector.doSetNextReader(LeafReaderContext context) |
protected abstract AllGroupHeadsCollector.GroupHead<T> |
AllGroupHeadsCollector.newGroupHead(int doc,
T value,
LeafReaderContext context,
Scorer scorer)
Create a new GroupHead for the given group value, initialized with a doc, context and scorer
|
void |
TermGroupSelector.setNextReader(LeafReaderContext readerContext) |
void |
GroupReducer.setNextReader(LeafReaderContext ctx)
Called when the parent
SecondPassGroupingCollector moves to a new segment |
abstract void |
GroupSelector.setNextReader(LeafReaderContext readerContext)
Set the LeafReaderContext
|
void |
ValueSourceGroupSelector.setNextReader(LeafReaderContext readerContext) |
protected void |
AllGroupHeadsCollector.GroupHead.setNextReader(LeafReaderContext ctx)
Called for each segment
|
Modifier and Type | Method and Description |
---|---|
protected LeafReaderContext |
WeightedSpanTermExtractor.getLeafContext() |
Modifier and Type | Method and Description |
---|---|
abstract IntervalIterator |
IntervalsSource.intervals(java.lang.String field,
LeafReaderContext ctx)
Create an
IntervalIterator exposing the minimum intervals defined by this IntervalsSource
Returns null if no intervals for this field exist in this segment |
abstract MatchesIterator |
IntervalsSource.matches(java.lang.String field,
LeafReaderContext ctx,
int doc)
Return a
MatchesIterator over the intervals defined by this IntervalsSource for a
given document and field
Returns null if no intervals exist in the given document and field |
Modifier and Type | Method and Description |
---|---|
BitSet |
BitSetProducer.getBitSet(LeafReaderContext context)
Produce a
BitSet matching the expected documents on the given
segment. |
BitSet |
QueryBitSetProducer.getBitSet(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
Similarity.SimScorer |
BooleanSimilarity.simScorer(Similarity.SimWeight weight,
LeafReaderContext context) |
Similarity.SimScorer |
SimilarityBase.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Similarity.SimScorer |
BM25Similarity.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Similarity.SimScorer |
TFIDFSimilarity.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
abstract Similarity.SimScorer |
Similarity.simScorer(Similarity.SimWeight weight,
LeafReaderContext context)
Creates a new
Similarity.SimScorer to score matching documents from a segment of the inverted index. |
Similarity.SimScorer |
PerFieldSimilarityWrapper.simScorer(Similarity.SimWeight weight,
LeafReaderContext context) |
Similarity.SimScorer |
MultiSimilarity.simScorer(Similarity.SimWeight stats,
LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
Explanation |
AssertingSpanWeight.explain(LeafReaderContext context,
int doc) |
Explanation |
SpanWeight.explain(LeafReaderContext context,
int doc) |
Similarity.SimScorer |
AssertingSpanWeight.getSimScorer(LeafReaderContext context) |
Similarity.SimScorer |
SpanWeight.getSimScorer(LeafReaderContext context)
Return a SimScorer for this context
|
Spans |
AssertingSpanWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanPositionCheckQuery.SpanPositionCheckWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanOrQuery.SpanOrWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanNearQuery.SpanNearWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
Spans |
SpanContainingQuery.SpanContainingWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings)
Return spans from
big that contain at least one spans from little . |
Spans |
SpanWithinQuery.SpanWithinWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings)
Return spans from
little that are contained in a spans from big . |
Spans |
SpanNotQuery.SpanNotWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
abstract Spans |
SpanWeight.getSpans(LeafReaderContext ctx,
SpanWeight.Postings requiredPostings)
Expert: Return a Spans object iterating over matches from this Weight
|
Spans |
SpanTermQuery.SpanTermWeight.getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
boolean |
AssertingSpanWeight.isCacheable(LeafReaderContext ctx) |
boolean |
SpanPositionCheckQuery.SpanPositionCheckWeight.isCacheable(LeafReaderContext ctx) |
boolean |
SpanOrQuery.SpanOrWeight.isCacheable(LeafReaderContext ctx) |
boolean |
SpanNearQuery.SpanNearWeight.isCacheable(LeafReaderContext ctx) |
boolean |
SpanContainingQuery.SpanContainingWeight.isCacheable(LeafReaderContext ctx) |
boolean |
SpanWithinQuery.SpanWithinWeight.isCacheable(LeafReaderContext ctx) |
boolean |
SpanNotQuery.SpanNotWeight.isCacheable(LeafReaderContext ctx) |
boolean |
SpanTermQuery.SpanTermWeight.isCacheable(LeafReaderContext ctx) |
Matches |
SpanWeight.matches(LeafReaderContext context,
int doc) |
SpanScorer |
AssertingSpanWeight.scorer(LeafReaderContext context) |
SpanScorer |
SpanWeight.scorer(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
abstract Bits |
BitsProducer.getBits(LeafReaderContext context)
Return
Bits for the given leaf. |
Modifier and Type | Method and Description |
---|---|
BulkScorer |
CompletionWeight.bulkScorer(LeafReaderContext context) |
protected void |
TopSuggestDocsCollector.doSetNextReader(LeafReaderContext context) |
Explanation |
CompletionWeight.explain(LeafReaderContext context,
int doc) |
boolean |
CompletionWeight.isCacheable(LeafReaderContext ctx)
This object can be cached
|
Scorer |
CompletionWeight.scorer(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
abstract ShapeValues |
ShapeValuesSource.getValues(LeafReaderContext ctx)
Get a
ShapeValues instance for the given leaf reader context |
Modifier and Type | Method and Description |
---|---|
Explanation |
BBoxSimilarityValueSource.explain(LeafReaderContext ctx,
int docId,
Explanation scoreExplanation) |
DoubleValues |
BBoxSimilarityValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
boolean |
BBoxSimilarityValueSource.isCacheable(LeafReaderContext ctx) |
Modifier and Type | Field and Description |
---|---|
protected LeafReaderContext |
AbstractPrefixTreeQuery.BaseTermsEnumTraverser.context |
Modifier and Type | Method and Description |
---|---|
static void |
PrefixTreeFacetCounter.compute(PrefixTreeStrategy strategy,
LeafReaderContext context,
Bits acceptDocs,
org.locationtech.spatial4j.shape.Shape queryShape,
int facetLevel,
PrefixTreeFacetCounter.FacetVisitor facetVisitor)
Lower-level per-leaf segment method.
|
protected DocIdSet |
ContainsPrefixTreeQuery.getDocIdSet(LeafReaderContext context) |
protected abstract DocIdSet |
AbstractPrefixTreeQuery.getDocIdSet(LeafReaderContext context) |
protected DocIdSet |
IntersectsPrefixTreeQuery.getDocIdSet(LeafReaderContext context) |
protected DocIdSet |
WithinPrefixTreeQuery.getDocIdSet(LeafReaderContext context) |
Constructor and Description |
---|
BaseTermsEnumTraverser(LeafReaderContext context) |
VisitorTemplate(LeafReaderContext context) |
Modifier and Type | Method and Description |
---|---|
Explanation |
ReciprocalDoubleValuesSource.explain(LeafReaderContext ctx,
int docId,
Explanation scoreExplanation) |
Explanation |
CachingDoubleValueSource.explain(LeafReaderContext ctx,
int docId,
Explanation scoreExplanation) |
DoubleValues |
ShapeAreaValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
DoubleValues |
ReciprocalDoubleValuesSource.getValues(LeafReaderContext ctx,
DoubleValues scores) |
DoubleValues |
DistanceToShapeValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
DoubleValues |
CachingDoubleValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
DoubleValues |
ShapeFieldCacheDistanceValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores) |
boolean |
ShapeAreaValueSource.isCacheable(LeafReaderContext ctx) |
boolean |
ReciprocalDoubleValuesSource.isCacheable(LeafReaderContext ctx) |
boolean |
DistanceToShapeValueSource.isCacheable(LeafReaderContext ctx) |
boolean |
CachingDoubleValueSource.isCacheable(LeafReaderContext ctx) |
boolean |
ShapeValuesPredicate.isCacheable(LeafReaderContext ctx) |
boolean |
ShapeFieldCacheDistanceValueSource.isCacheable(LeafReaderContext ctx) |
TwoPhaseIterator |
ShapeValuesPredicate.iterator(LeafReaderContext ctx,
DocIdSetIterator approximation) |
Modifier and Type | Method and Description |
---|---|
DoubleValues |
DistanceValueSource.getValues(LeafReaderContext readerContext,
DoubleValues scores)
Returns the FunctionValues used by the function query.
|
boolean |
DistanceValueSource.isCacheable(LeafReaderContext ctx) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.