Uses of Class
org.apache.lucene.index.LeafReaderContext
-
Packages that use LeafReaderContext Package Description org.apache.lucene.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.expressions Expressions.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.misc.index Misc index tools and index support.org.apache.lucene.misc.search Misc search implementations.org.apache.lucene.monitor Monitoring frameworkorg.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.intervals Intervals queriesorg.apache.lucene.queries.payloads The payloads package provides Query mechanisms for finding and using payloads.org.apache.lucene.queries.spans The calculus of spans.org.apache.lucene.sandbox.search This package contains a flexible graph-based proximity query, TermAutomatonQuery, and geospatial queries.org.apache.lucene.search Code to search indices.org.apache.lucene.search.comparators Comparators, used to compare hits so as to determine their sort order when collecting the top results withTopFieldCollector.org.apache.lucene.search.grouping Grouping.org.apache.lucene.search.highlight Highlighting search terms.org.apache.lucene.search.join Support for index-time and query-time joins.org.apache.lucene.search.matchhighlight This package contains several components useful to build a highlighter on top of theMatchesAPI.org.apache.lucene.search.suggest Support for Autocomplete/Autosuggestorg.apache.lucene.search.suggest.document Support for document suggestionorg.apache.lucene.spatial3d Lucene field & query support for the spatial geometry implemented inorg.apache.lucene.spatial3d.geom. -
-
Uses of LeafReaderContext in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type LeafReaderContext Modifier and Type Method Description protected voidFeatureSortField.FeatureComparator. doSetNextReader(LeafReaderContext context)LeafFieldComparatorLatLonPointDistanceComparator. getLeafComparator(LeafReaderContext context)LeafFieldComparatorXYPointDistanceComparator. getLeafComparator(LeafReaderContext context)DoubleValuesFeatureDoubleValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)booleanFeatureDoubleValuesSource. isCacheable(LeafReaderContext ctx) -
Uses of LeafReaderContext in org.apache.lucene.expressions
Methods in org.apache.lucene.expressions with parameters of type LeafReaderContext Modifier and Type Method Description ExplanationExpressionValueSource. explain(LeafReaderContext ctx, int docId, Explanation scoreExplanation)DoubleValuesCachingExpressionValueSource. getValues(LeafReaderContext readerContext, DoubleValues scores)DoubleValuesExpressionValueSource. getValues(LeafReaderContext readerContext, DoubleValues scores)private DoubleValuesCachingExpressionValueSource. getValuesWithCache(LeafReaderContext readerContext, DoubleValues scores, java.util.Map<java.lang.String,DoubleValues> valuesCache)booleanExpressionValueSource. isCacheable(LeafReaderContext ctx) -
Uses of LeafReaderContext in org.apache.lucene.index
Fields in org.apache.lucene.index declared as LeafReaderContext Modifier and Type Field Description private LeafReaderContextLeafReader. readerContextFields in org.apache.lucene.index with type parameters of type LeafReaderContext Modifier and Type Field Description private java.util.List<LeafReaderContext>CompositeReaderContext.Builder. leavesprivate java.util.List<LeafReaderContext>CompositeReaderContext. leavesprivate java.util.List<LeafReaderContext>LeafReaderContext. leavesMethods in org.apache.lucene.index that return LeafReaderContext Modifier and Type Method Description LeafReaderContextLeafReader. getContext()Methods in org.apache.lucene.index that return types with arguments of type LeafReaderContext Modifier and Type Method Description java.util.List<LeafReaderContext>CompositeReaderContext. leaves()java.util.List<LeafReaderContext>IndexReader. leaves()Returns the reader's leaves, or itself if this reader is atomic.abstract java.util.List<LeafReaderContext>IndexReaderContext. leaves()Returns the context's leaves if this context is a top-level context.java.util.List<LeafReaderContext>LeafReaderContext. leaves()Methods in org.apache.lucene.index with parameters of type LeafReaderContext Modifier and Type Method Description TermStateTermStates. get(LeafReaderContext ctx)static booleanDocValues. isCacheable(LeafReaderContext ctx, java.lang.String... fields)Returnstrueif the specified docvalues fields have not been updatedprivate static TermsEnumTermStates. loadTermsEnum(LeafReaderContext ctx, Term term)Method parameters in org.apache.lucene.index with type arguments of type LeafReaderContext Modifier and Type Method Description static intReaderUtil. subIndex(int n, java.util.List<LeafReaderContext> leaves)Returns index of the searcher/reader for documentnin the array used to construct this searcher/reader. -
Uses of LeafReaderContext in org.apache.lucene.misc.index
Constructors in org.apache.lucene.misc.index with parameters of type LeafReaderContext Constructor Description DocumentFilteredLeafIndexReader(LeafReaderContext context, Weight preserveWeight, boolean negateFilter) -
Uses of LeafReaderContext in org.apache.lucene.misc.search
Methods in org.apache.lucene.misc.search with parameters of type LeafReaderContext Modifier and Type Method Description protected voidMemoryAccountingBitsetCollector. doSetNextReader(LeafReaderContext context)protected abstract NumericDocValuesDiversifiedTopDocsCollector. getKeys(LeafReaderContext context)Get a source of values used for grouping keysLeafCollectorDiversifiedTopDocsCollector. getLeafCollector(LeafReaderContext context)LeafCollectorDocValuesStatsCollector. getLeafCollector(LeafReaderContext context)protected abstract booleanDocValuesStats. init(LeafReaderContext context)Initializes this object with the given reader context.protected booleanDocValuesStats.NumericDocValuesStats. init(LeafReaderContext context)protected booleanDocValuesStats.SortedDocValuesStats. init(LeafReaderContext context)protected booleanDocValuesStats.SortedNumericDocValuesStats. init(LeafReaderContext context)protected booleanDocValuesStats.SortedSetDocValuesStats. init(LeafReaderContext context) -
Uses of LeafReaderContext in org.apache.lucene.monitor
Fields in org.apache.lucene.monitor declared as LeafReaderContext Modifier and Type Field Description (package private) LeafReaderContextQueryIndex.DataValues. ctxMethods in org.apache.lucene.monitor with parameters of type LeafReaderContext Modifier and Type Method Description voidReadonlyQueryIndex.LazyMonitorQueryCollector. doSetNextReader(LeafReaderContext context)voidWritableQueryIndex.MonitorQueryCollector. doSetNextReader(LeafReaderContext context) -
Uses of LeafReaderContext in org.apache.lucene.queries
Method parameters in org.apache.lucene.queries with type arguments of type LeafReaderContext Modifier and Type Method Description voidCommonTermsQuery. collectTermStates(IndexReader reader, java.util.List<LeafReaderContext> leaves, TermStates[] contextArray, Term[] queryTerms) -
Uses of LeafReaderContext in org.apache.lucene.queries.function
Methods in org.apache.lucene.queries.function with parameters of type LeafReaderContext Modifier and Type Method Description intFunctionScoreQuery.FunctionScoreWeight. count(LeafReaderContext context)voidValueSource.ValueSourceComparator. doSetNextReader(LeafReaderContext context)ExplanationFunctionQuery.FunctionWeight. explain(LeafReaderContext context, int doc)ExplanationFunctionRangeQuery.FunctionRangeWeight. explain(LeafReaderContext context, int doc)ExplanationFunctionScoreQuery.FunctionScoreWeight. explain(LeafReaderContext context, int doc)ExplanationFunctionScoreQuery.MultiplicativeBoostValuesSource. explain(LeafReaderContext ctx, int docId, Explanation scoreExplanation)ExplanationFunctionScoreQuery.QueryBoostValuesSource. explain(LeafReaderContext ctx, int docId, Explanation scoreExplanation)ExplanationValueSource.WrappedDoubleValuesSource. explain(LeafReaderContext ctx, int docId, Explanation scoreExplanation)ValueSourceScorerFunctionValues. getRangeScorer(Weight weight, LeafReaderContext readerContext, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)Yields aScorerthat matches documents with values between the specified range, and that which produces scores equal toFunctionValues.floatVal(int).ValueSourceScorerFunctionValues. getScorer(Weight weight, LeafReaderContext readerContext)Yields aScorerthat matches all documents, and that which produces scores equal toFunctionValues.floatVal(int).DoubleValuesFunctionScoreQuery.MultiplicativeBoostValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)DoubleValuesFunctionScoreQuery.QueryBoostValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)DoubleValuesIndexReaderFunctions.IndexReaderDoubleValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)DoubleValuesIndexReaderFunctions.NoCacheConstantDoubleValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)LongValuesIndexReaderFunctions.NoCacheConstantLongValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)LongValuesIndexReaderFunctions.SumTotalTermFreqValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)DoubleValuesIndexReaderFunctions.TermFreqDoubleValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)FunctionValuesValueSource.FromDoubleValuesSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)abstract FunctionValuesValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)Gets the values for this reader and the context that was previously passed to createWeight().DoubleValuesValueSource.WrappedDoubleValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)LongValuesValueSource.WrappedLongValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)booleanFunctionQuery.FunctionWeight. isCacheable(LeafReaderContext ctx)booleanFunctionRangeQuery.FunctionRangeWeight. isCacheable(LeafReaderContext ctx)booleanFunctionScoreQuery.FunctionScoreWeight. isCacheable(LeafReaderContext ctx)booleanFunctionScoreQuery.MultiplicativeBoostValuesSource. isCacheable(LeafReaderContext ctx)booleanFunctionScoreQuery.QueryBoostValuesSource. isCacheable(LeafReaderContext ctx)booleanIndexReaderFunctions.IndexReaderDoubleValuesSource. isCacheable(LeafReaderContext ctx)booleanIndexReaderFunctions.NoCacheConstantDoubleValuesSource. isCacheable(LeafReaderContext ctx)booleanIndexReaderFunctions.NoCacheConstantLongValuesSource. isCacheable(LeafReaderContext ctx)booleanIndexReaderFunctions.SumTotalTermFreqValuesSource. isCacheable(LeafReaderContext ctx)booleanIndexReaderFunctions.TermFreqDoubleValuesSource. isCacheable(LeafReaderContext ctx)booleanValueSource.WrappedDoubleValuesSource. isCacheable(LeafReaderContext ctx)booleanValueSource.WrappedLongValuesSource. isCacheable(LeafReaderContext ctx)MatchesFunctionScoreQuery.FunctionScoreWeight. matches(LeafReaderContext context, int doc)ScorerFunctionQuery.FunctionWeight. scorer(LeafReaderContext context)ValueSourceScorerFunctionRangeQuery.FunctionRangeWeight. scorer(LeafReaderContext context)ScorerFunctionScoreQuery.FunctionScoreWeight. scorer(LeafReaderContext context)Constructors in org.apache.lucene.queries.function with parameters of type LeafReaderContext Constructor Description AllScorer(LeafReaderContext context, FunctionQuery.FunctionWeight w, float boost)ValueSourceScorer(Weight weight, LeafReaderContext readerContext, FunctionValues values) -
Uses of LeafReaderContext in org.apache.lucene.queries.function.docvalues
Methods in org.apache.lucene.queries.function.docvalues with parameters of type LeafReaderContext Modifier and Type Method Description ValueSourceScorerDocTermsIndexDocValues. getRangeScorer(Weight weight, LeafReaderContext readerContext, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)ValueSourceScorerDoubleDocValues. getRangeScorer(Weight weight, LeafReaderContext readerContext, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)ValueSourceScorerIntDocValues. getRangeScorer(Weight weight, LeafReaderContext readerContext, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)ValueSourceScorerLongDocValues. getRangeScorer(Weight weight, LeafReaderContext readerContext, java.lang.String lowerVal, java.lang.String upperVal, boolean includeLower, boolean includeUpper)(package private) static SortedDocValuesDocTermsIndexDocValues. open(LeafReaderContext context, java.lang.String field)Constructors in org.apache.lucene.queries.function.docvalues with parameters of type LeafReaderContext Constructor Description DocTermsIndexDocValues(ValueSource vs, LeafReaderContext context, java.lang.String field) -
Uses of LeafReaderContext in org.apache.lucene.queries.function.valuesource
Fields in org.apache.lucene.queries.function.valuesource declared as LeafReaderContext Modifier and Type Field Description (package private) LeafReaderContextQueryDocValues. readerContextMethods in org.apache.lucene.queries.function.valuesource with parameters of type LeafReaderContext Modifier and Type Method Description private ScaleFloatFunction.ScaleInfoScaleFloatFunction. createScaleInfo(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)protected NumericDocValuesDoubleFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)protected NumericDocValuesFloatFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)protected NumericDocValuesIntFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)protected NumericDocValuesLongFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)protected NumericDocValuesMultiValuedDoubleFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)protected NumericDocValuesMultiValuedFloatFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)protected NumericDocValuesMultiValuedIntFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)protected NumericDocValuesMultiValuedLongFieldSource. getNumericDocValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesBytesRefFieldSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesComparisonBoolFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesConstValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesDefFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> fcontext, LeafReaderContext readerContext)FunctionValuesDocFreqValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesDoubleConstValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesDoubleFieldSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesDualFloatFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesEnumFieldSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesFloatFieldSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesIDFValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesIfFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesIntFieldSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesJoinDocFreqValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesLinearFloatFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesLiteralValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesLongFieldSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesMaxDocValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)BoolDocValuesMultiBoolFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesMultiFloatFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesNormValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesNumDocsValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesQueryValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> fcontext, LeafReaderContext readerContext)FunctionValuesRangeMapFloatFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesReciprocalFloatFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesScaleFloatFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)BoolDocValuesSimpleBoolFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesSimpleFloatFunction. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesSortedSetFieldSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesSumTotalTermFreqValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesTermFreqValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesTFValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesTotalTermFreqValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)FunctionValuesVectorValueSource. getValues(java.util.Map<java.lang.Object,java.lang.Object> context, LeafReaderContext readerContext)static FunctionValues[]MultiFunction. valsArr(java.util.List<ValueSource> sources, java.util.Map<java.lang.Object,java.lang.Object> fcontext, LeafReaderContext readerContext)Constructors in org.apache.lucene.queries.function.valuesource with parameters of type LeafReaderContext Constructor Description QueryDocValues(QueryValueSource vs, LeafReaderContext readerContext, java.util.Map<java.lang.Object,java.lang.Object> fcontext) -
Uses of LeafReaderContext in org.apache.lucene.queries.intervals
Methods in org.apache.lucene.queries.intervals with parameters of type LeafReaderContext Modifier and Type Method Description ExplanationIntervalQuery.IntervalWeight. explain(LeafReaderContext context, int doc)IntervalIteratorConjunctionIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorDifferenceIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorDisjunctionIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorExtendedIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorFilteredIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorFixedFieldIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)abstract IntervalIteratorIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)Create anIntervalIteratorexposing the minimum intervals defined by thisIntervalsSourceIntervalIteratorMinimizingConjunctionIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorMinimumShouldMatchIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorMultiTermIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorNoMatchIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorOffsetIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorPayloadFilteredTermIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorRepeatingIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)IntervalIteratorTermIntervalsSource. intervals(java.lang.String field, LeafReaderContext ctx)booleanIntervalQuery.IntervalWeight. isCacheable(LeafReaderContext ctx)IntervalMatchesIteratorConjunctionIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorDifferenceIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorDisjunctionIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorExtendedIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorFilteredIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorFixedFieldIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)MatchesIntervalQuery.IntervalWeight. matches(LeafReaderContext context, int doc)abstract IntervalMatchesIteratorIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)Return aMatchesIteratorover the intervals defined by thisIntervalsSourcefor a given document and fieldIntervalMatchesIteratorMinimizingConjunctionIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorMinimumShouldMatchIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorMultiTermIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorNoMatchIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorOffsetIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorPayloadFilteredTermIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorRepeatingIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)IntervalMatchesIteratorTermIntervalsSource. matches(java.lang.String field, LeafReaderContext ctx, int doc)ScorerIntervalQuery.IntervalWeight. scorer(LeafReaderContext context) -
Uses of LeafReaderContext in org.apache.lucene.queries.payloads
Methods in org.apache.lucene.queries.payloads with parameters of type LeafReaderContext Modifier and Type Method Description ExplanationPayloadScoreQuery.PayloadSpanWeight. explain(LeafReaderContext context, int doc)SpansPayloadScoreQuery.PayloadSpanWeight. getSpans(LeafReaderContext ctx, SpanWeight.Postings requiredPostings)SpansSpanPayloadCheckQuery.SpanPayloadCheckWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)booleanPayloadScoreQuery.PayloadSpanWeight. isCacheable(LeafReaderContext ctx)booleanSpanPayloadCheckQuery.SpanPayloadCheckWeight. isCacheable(LeafReaderContext ctx)SpanScorerPayloadScoreQuery.PayloadSpanWeight. scorer(LeafReaderContext context)SpanScorerSpanPayloadCheckQuery.SpanPayloadCheckWeight. scorer(LeafReaderContext context) -
Uses of LeafReaderContext in org.apache.lucene.queries.spans
Methods in org.apache.lucene.queries.spans with parameters of type LeafReaderContext Modifier and Type Method Description ExplanationSpanWeight. explain(LeafReaderContext context, int doc)LeafSimScorerSpanWeight. getSimScorer(LeafReaderContext context)Return a LeafSimScorer for this contextSpansSpanContainingQuery.SpanContainingWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)Return spans frombigthat contain at least one spans fromlittle.SpansSpanNearQuery.SpanGapQuery.SpanGapWeight. getSpans(LeafReaderContext ctx, SpanWeight.Postings requiredPostings)SpansSpanNearQuery.SpanNearWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)SpansSpanNotQuery.SpanNotWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)SpansSpanOrQuery.SpanOrWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)SpansSpanPositionCheckQuery.SpanPositionCheckWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)SpansSpanTermQuery.SpanTermWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)abstract SpansSpanWeight. getSpans(LeafReaderContext ctx, SpanWeight.Postings requiredPostings)Expert: Return a Spans object iterating over matches from this WeightSpansSpanWithinQuery.SpanWithinWeight. getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings)Return spans fromlittlethat are contained in a spans frombig.booleanSpanContainingQuery.SpanContainingWeight. isCacheable(LeafReaderContext ctx)booleanSpanNearQuery.SpanGapQuery.SpanGapWeight. isCacheable(LeafReaderContext ctx)booleanSpanNearQuery.SpanNearWeight. isCacheable(LeafReaderContext ctx)booleanSpanNotQuery.SpanNotWeight. isCacheable(LeafReaderContext ctx)booleanSpanOrQuery.SpanOrWeight. isCacheable(LeafReaderContext ctx)booleanSpanPositionCheckQuery.SpanPositionCheckWeight. isCacheable(LeafReaderContext ctx)booleanSpanTermQuery.SpanTermWeight. isCacheable(LeafReaderContext ctx)booleanSpanWithinQuery.SpanWithinWeight. isCacheable(LeafReaderContext ctx)MatchesSpanWeight. matches(LeafReaderContext context, int doc)(package private) java.util.ArrayList<Spans>SpanContainQuery.SpanContainWeight. prepareConjunction(LeafReaderContext context, SpanWeight.Postings postings)SpanScorerSpanWeight. scorer(LeafReaderContext context) -
Uses of LeafReaderContext in org.apache.lucene.sandbox.search
Methods in org.apache.lucene.sandbox.search that return types with arguments of type LeafReaderContext Modifier and Type Method Description protected java.util.List<LeafReaderContext>PhraseWildcardQuery.SegmentTermsSizeComparator. createTermsSizeSortedCopyOf(java.util.List<LeafReaderContext> segments)Methods in org.apache.lucene.sandbox.search with parameters of type LeafReaderContext Modifier and Type Method Description BulkScorerQueryProfilerWeight. bulkScorer(LeafReaderContext context)protected java.util.List<PhraseWildcardQuery.TermBytesTermState>PhraseWildcardQuery. collectMultiTermDataForSegment(PhraseWildcardQuery.MultiTerm multiTerm, LeafReaderContext leafReaderContext, int remainingExpansions, MutableValueBool shouldStopSegmentIteration, java.util.Map<BytesRef,PhraseWildcardQuery.TermStats> termStatsMap)Collects theTermStatelist andTermStatisticsfor a multi-term on a specific index segment.intPhraseWildcardQuery.SegmentTermsSizeComparator. compare(LeafReaderContext leafReaderContext1, LeafReaderContext leafReaderContext2)intQueryProfilerWeight. count(LeafReaderContext context)protected TermsEnumPhraseWildcardQuery. createTermsEnum(PhraseWildcardQuery.MultiTerm multiTerm, LeafReaderContext leafReaderContext)Creates theTermsEnumfor the givenPhraseWildcardQuery.MultiTermand segment.ExplanationCombinedFieldQuery.CombinedFieldWeight. explain(LeafReaderContext context, int doc)ExplanationCoveringQuery.CoveringWeight. explain(LeafReaderContext context, int doc)ExplanationQueryProfilerWeight. explain(LeafReaderContext context, int doc)ExplanationTermAutomatonQuery.TermAutomatonWeight. explain(LeafReaderContext context, int doc)private IndexSortSortedNumericDocValuesRangeQuery.BoundedDocIdSetIteratorIndexSortSortedNumericDocValuesRangeQuery. getDocIdSetIterator(SortField sortField, SortField.Type sortFieldType, LeafReaderContext context, DocIdSetIterator delegate)Computes the document IDs that lie within the range [lowerValue, upperValue] by performing binary search on the field's doc values.private IndexSortSortedNumericDocValuesRangeQuery.BoundedDocIdSetIteratorIndexSortSortedNumericDocValuesRangeQuery. getDocIdSetIteratorOrNull(LeafReaderContext context)LeafCollectorLargeNumHitsTopDocsCollector. getLeafCollector(LeafReaderContext context)LeafCollectorProfilerCollector. getLeafCollector(LeafReaderContext context)LeafCollectorProfilerCollectorWrapper. getLeafCollector(LeafReaderContext context)private longPhraseWildcardQuery.SegmentTermsSizeComparator. getTermsSize(LeafReaderContext leafReaderContext)protected java.util.List<PhraseWildcardQuery.TermBytesTermState>PhraseWildcardQuery.TermData. getTermStatesForSegment(LeafReaderContext leafReaderContext)booleanCombinedFieldQuery.CombinedFieldWeight. isCacheable(LeafReaderContext ctx)booleanCoveringQuery.CoveringWeight. isCacheable(LeafReaderContext ctx)booleanQueryProfilerWeight. isCacheable(LeafReaderContext ctx)booleanTermAutomatonQuery.TermAutomatonWeight. isCacheable(LeafReaderContext ctx)private static IndexSortSortedNumericDocValuesRangeQuery.ValueComparatorIndexSortSortedNumericDocValuesRangeQuery. loadComparator(SortField sortField, SortField.Type type, long topValue, LeafReaderContext context)MatchesCombinedFieldQuery.CombinedFieldWeight. matches(LeafReaderContext context, int doc)MatchesCoveringQuery.CoveringWeight. matches(LeafReaderContext context, int doc)ScorerCombinedFieldQuery.CombinedFieldWeight. scorer(LeafReaderContext context)ScorerCoveringQuery.CoveringWeight. scorer(LeafReaderContext context)ScorerQueryProfilerWeight. scorer(LeafReaderContext context)ScorerTermAutomatonQuery.TermAutomatonWeight. scorer(LeafReaderContext context)ScorerSupplierQueryProfilerWeight. scorerSupplier(LeafReaderContext context)protected voidPhraseWildcardQuery.TermData. setTermStatesForSegment(LeafReaderContext leafReaderContext, java.util.List<PhraseWildcardQuery.TermBytesTermState> termStates)Sets the collected list ofPhraseWildcardQuery.TermBytesTermStatefor the given segment.Method parameters in org.apache.lucene.sandbox.search with type arguments of type LeafReaderContext Modifier and Type Method Description protected intPhraseWildcardQuery. collectMultiTermData(PhraseWildcardQuery.MultiTerm multiTerm, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData)Collects theTermStateandTermStatisticsfor a multi-term with expansion.protected intPhraseWildcardQuery. collectSingleTermData(PhraseWildcardQuery.SingleTerm singleTerm, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, PhraseWildcardQuery.TermsData termsData)Collects theTermStateandTermStatisticsfor a single-term without expansion.protected intPhraseWildcardQuery.MultiTerm. collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData)protected abstract intPhraseWildcardQuery.PhraseTerm. collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData)CollectsTermStateandTermStatisticsfor the term (potentially expanded).protected intPhraseWildcardQuery.PhraseTerm. collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, PhraseWildcardQuery.TermsData termsData)CollectsTermStateandTermStatisticsfor the term without expansion.protected intPhraseWildcardQuery.SingleTerm. collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, int remainingMultiTerms, int maxExpansionsForTerm, PhraseWildcardQuery.TermsData termsData)protected intPhraseWildcardQuery.SingleTerm. collectTermData(PhraseWildcardQuery query, IndexSearcher searcher, java.util.List<LeafReaderContext> segments, PhraseWildcardQuery.TermsData termsData)protected java.util.List<LeafReaderContext>PhraseWildcardQuery.SegmentTermsSizeComparator. createTermsSizeSortedCopyOf(java.util.List<LeafReaderContext> segments) -
Uses of LeafReaderContext in org.apache.lucene.search
Fields in org.apache.lucene.search declared as LeafReaderContext Modifier and Type Field Description LeafReaderContext[]IndexSearcher.LeafSlice. leavesThe leaves that make up this slice.protected LeafReaderContextTermCollectingRewrite.TermCollector. readerContextFields in org.apache.lucene.search with type parameters of type LeafReaderContext Modifier and Type Field Description (package private) java.util.List<LeafReaderContext>CachingCollector.NoScoreCachingCollector. contextsprotected java.util.List<LeafReaderContext>IndexSearcher. leafContextsprivate java.util.function.Predicate<LeafReaderContext>LRUQueryCache. leavesToCacheMethods in org.apache.lucene.search that return types with arguments of type LeafReaderContext Modifier and Type Method Description java.util.List<LeafReaderContext>IndexSearcher. getLeafContexts()Expert: returns leaf contexts associated with this searcher.Methods in org.apache.lucene.search with parameters of type LeafReaderContext Modifier and Type Method Description private TopDocsKnnVectorQuery. approximateSearch(LeafReaderContext context, Bits acceptDocs, int visitedLimit)(package private) BulkScorerBooleanWeight. booleanScorer(LeafReaderContext context)Try to build a boolean scorer for this weight.BulkScorerBooleanWeight. bulkScorer(LeafReaderContext context)BulkScorerIndriAndWeight. bulkScorer(LeafReaderContext context)BulkScorerLRUQueryCache.CachingWrapperWeight. bulkScorer(LeafReaderContext context)BulkScorerWeight. bulkScorer(LeafReaderContext context)Optional method, to return aBulkScorerto score the query and send hits to aCollector.private LRUQueryCache.CacheAndCountLRUQueryCache.CachingWrapperWeight. cache(LeafReaderContext context)intLRUQueryCache.CachingWrapperWeight. count(LeafReaderContext context)intTermQuery.TermWeight. count(LeafReaderContext context)intWeight. count(LeafReaderContext context)Counts the number of live documents that match a givenWeight.parentQueryin a leaf.static MatchesIteratorMatchesUtils. disjunction(LeafReaderContext context, int doc, Query query, java.lang.String field, BytesRefIterator terms)Create a MatchesIterator that is a disjunction over a list of terms extracted from aBytesRefIterator.protected voidKnnVectorQuery.BitSetCollector. doSetNextReader(LeafReaderContext context)protected voidSimpleCollector. doSetNextReader(LeafReaderContext context)This method is called before collectingcontext.protected abstract voidSimpleFieldComparator. doSetNextReader(LeafReaderContext context)This method is called before collectingcontext.protected TopDocsKnnVectorQuery. exactSearch(LeafReaderContext context, DocIdSetIterator acceptIterator)ExplanationBooleanWeight. explain(LeafReaderContext context, int doc)ExplanationConstantScoreWeight. explain(LeafReaderContext context, int doc)ExplanationDisjunctionMaxQuery.DisjunctionMaxWeight. explain(LeafReaderContext context, int doc)Explain the score we computed for docExplanationDoubleValuesSource.ConstantValuesSource. explain(LeafReaderContext ctx, int docId, Explanation scoreExplanation)ExplanationDoubleValuesSource. explain(LeafReaderContext ctx, int docId, Explanation scoreExplanation)An explanation of the value for the named document.ExplanationDoubleValuesSource.FieldValuesSource. explain(LeafReaderContext ctx, int docId, Explanation scoreExplanation)ExplanationDoubleValuesSource.WeightDoubleValuesSource. explain(LeafReaderContext ctx, int docId, Explanation scoreExplanation)ExplanationFilterWeight. explain(LeafReaderContext context, int doc)ExplanationIndriAndWeight. explain(LeafReaderContext context, int doc)ExplanationPhraseWeight. explain(LeafReaderContext context, int doc)ExplanationSynonymQuery.SynonymWeight. explain(LeafReaderContext context, int doc)ExplanationTermQuery.TermWeight. explain(LeafReaderContext context, int doc)abstract ExplanationWeight. explain(LeafReaderContext context, int doc)An explanation of the score computation for the named document.(package private) static MatchesIteratorDisjunctionMatchesIterator. fromTerms(LeafReaderContext context, int doc, Query query, java.lang.String field, java.util.List<Term> terms)Create aDisjunctionMatchesIteratorover a list of terms(package private) static MatchesIteratorDisjunctionMatchesIterator. fromTermsEnum(LeafReaderContext context, int doc, Query query, java.lang.String field, BytesRefIterator terms)Create aDisjunctionMatchesIteratorover a list of terms extracted from aBytesRefIteratorprotected BinaryDocValuesFieldComparator.TermValComparator. getBinaryDocValues(LeafReaderContext context, java.lang.String field)Retrieves the BinaryDocValues for the field in this segmentLeafFieldComparator[]FieldValueHitQueue. getComparators(LeafReaderContext context)LeafCollectorCachingCollector.NoScoreCachingCollector. getLeafCollector(LeafReaderContext context)LeafCollectorCollector. getLeafCollector(LeafReaderContext context)Create a newcollectorto collect the given context.LeafCollectorFilterCollector. getLeafCollector(LeafReaderContext context)LeafCollectorIndexSearcher.ShortcutHitCountCollector. getLeafCollector(LeafReaderContext context)LeafCollectorMultiCollector. getLeafCollector(LeafReaderContext context)LeafCollectorPositiveScoresOnlyCollector. getLeafCollector(LeafReaderContext context)LeafCollectorSimpleCollector. getLeafCollector(LeafReaderContext context)LeafCollectorTimeLimitingCollector. getLeafCollector(LeafReaderContext context)LeafCollectorTopFieldCollector.PagingFieldCollector. getLeafCollector(LeafReaderContext context)LeafCollectorTopFieldCollector.SimpleFieldCollector. getLeafCollector(LeafReaderContext context)LeafCollectorTopScoreDocCollector.PagingTopScoreDocCollector. getLeafCollector(LeafReaderContext context)LeafCollectorTopScoreDocCollector.SimpleTopScoreDocCollector. getLeafCollector(LeafReaderContext context)abstract LeafFieldComparatorFieldComparator. getLeafComparator(LeafReaderContext context)Get a per-segmentLeafFieldComparatorto collect the givenLeafReaderContext.LeafFieldComparatorFieldComparator.RelevanceComparator. getLeafComparator(LeafReaderContext context)LeafFieldComparatorFieldComparator.TermOrdValComparator. getLeafComparator(LeafReaderContext context)LeafFieldComparatorFieldComparator.TermValComparator. getLeafComparator(LeafReaderContext context)LeafFieldComparatorSimpleFieldComparator. getLeafComparator(LeafReaderContext context)protected abstract PhraseMatcherPhraseWeight. getPhraseMatcher(LeafReaderContext context, Similarity.SimScorer scorer, boolean exposeOffsets)private ScorerIndriAndWeight. getScorer(LeafReaderContext context)protected SortedDocValuesFieldComparator.TermOrdValComparator. getSortedDocValues(LeafReaderContext context, java.lang.String field)Retrieves the SortedDocValues for the field in this segmentprivate TermsEnumTermQuery.TermWeight. getTermsEnum(LeafReaderContext context)Returns aTermsEnumpositioned at this weights Term or null if the term does not exist in the given contextDoubleValuesDoubleValuesSource.ConstantValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)DoubleValuesDoubleValuesSource.FieldValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)abstract DoubleValuesDoubleValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)Returns aDoubleValuesinstance for the passed-in LeafReaderContext and scoresLongValuesDoubleValuesSource.LongDoubleValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)DoubleValuesDoubleValuesSource.QueryDoubleValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)DoubleValuesDoubleValuesSource.WeightDoubleValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)LongValuesLongValuesSource.ConstantLongValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)DoubleValuesLongValuesSource.DoubleLongValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)LongValuesLongValuesSource.FieldValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)abstract LongValuesLongValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)Returns aLongValuesinstance for the passed-in LeafReaderContext and scoresprivate booleanFieldExistsQuery. hasStrictlyConsistentFieldInfos(LeafReaderContext context)booleanBooleanWeight. isCacheable(LeafReaderContext ctx)booleanDisjunctionMaxQuery.DisjunctionMaxWeight. isCacheable(LeafReaderContext ctx)booleanDoubleValuesSource.ConstantValuesSource. isCacheable(LeafReaderContext ctx)booleanDoubleValuesSource.FieldValuesSource. isCacheable(LeafReaderContext ctx)booleanDoubleValuesSource.LongDoubleValuesSource. isCacheable(LeafReaderContext ctx)booleanDoubleValuesSource.QueryDoubleValuesSource. isCacheable(LeafReaderContext ctx)booleanDoubleValuesSource.WeightDoubleValuesSource. isCacheable(LeafReaderContext ctx)booleanFilterWeight. isCacheable(LeafReaderContext ctx)booleanIndriAndWeight. isCacheable(LeafReaderContext ctx)booleanLongValuesSource.ConstantLongValuesSource. isCacheable(LeafReaderContext ctx)booleanLongValuesSource.DoubleLongValuesSource. isCacheable(LeafReaderContext ctx)booleanLongValuesSource.FieldValuesSource. isCacheable(LeafReaderContext ctx)booleanLRUQueryCache.CachingWrapperWeight. isCacheable(LeafReaderContext ctx)booleanPhraseWeight. isCacheable(LeafReaderContext ctx)booleanSegmentCacheable. isCacheable(LeafReaderContext ctx)booleanSynonymQuery.SynonymWeight. isCacheable(LeafReaderContext ctx)booleanTermQuery.TermWeight. isCacheable(LeafReaderContext ctx)MatchesBooleanWeight. matches(LeafReaderContext context, int doc)MatchesDisjunctionMaxQuery.DisjunctionMaxWeight. matches(LeafReaderContext context, int doc)MatchesFilterWeight. matches(LeafReaderContext context, int doc)MatchesLRUQueryCache.CachingWrapperWeight. matches(LeafReaderContext context, int doc)MatchesPhraseWeight. matches(LeafReaderContext context, int doc)MatchesSynonymQuery.SynonymWeight. matches(LeafReaderContext context, int doc)MatchesTermQuery.TermWeight. matches(LeafReaderContext context, int doc)MatchesWeight. matches(LeafReaderContext context, int doc)ReturnsMatchesfor a specific document, ornullif the document does not match the parent query(package private) BulkScorerBooleanWeight. optionalBulkScorer(LeafReaderContext context)private BulkScorerBooleanWeight. requiredBulkScorer(LeafReaderContext context)ScorerBooleanWeight. scorer(LeafReaderContext context)ScorerDisjunctionMaxQuery.DisjunctionMaxWeight. scorer(LeafReaderContext context)Create the scorer used to score our associated DisjunctionMaxQueryScorerFilterWeight. scorer(LeafReaderContext context)ScorerIndriAndWeight. scorer(LeafReaderContext context)ScorerLRUQueryCache.CachingWrapperWeight. scorer(LeafReaderContext context)ScorerPhraseWeight. scorer(LeafReaderContext context)ScorerSynonymQuery.SynonymWeight. scorer(LeafReaderContext context)ScorerTermQuery.TermWeight. scorer(LeafReaderContext context)abstract ScorerWeight. scorer(LeafReaderContext context)Returns aScorerwhich can iterate in order over all matching documents and assign them a score.ScorerSupplierBooleanWeight. scorerSupplier(LeafReaderContext context)ScorerSupplierLRUQueryCache.CachingWrapperWeight. scorerSupplier(LeafReaderContext context)ScorerSupplierWeight. scorerSupplier(LeafReaderContext context)Optional method.private TopDocsKnnVectorQuery. searchLeaf(LeafReaderContext ctx, KnnVectorQuery.BitSetCollector filterCollector)voidTermCollectingRewrite.TermCollector. setReaderContext(IndexReaderContext topReaderContext, LeafReaderContext readerContext)private booleanLRUQueryCache.CachingWrapperWeight. shouldCache(LeafReaderContext context)Check whether this segment is eligible for caching, regardless of the query.booleanLRUQueryCache.MinSegmentSizePredicate. test(LeafReaderContext context)Method parameters in org.apache.lucene.search with type arguments of type LeafReaderContext Modifier and Type Method Description protected voidIndexSearcher. 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.static IndexSearcher.LeafSlice[]IndexSearcher. slices(java.util.List<LeafReaderContext> leaves, int maxDocsPerSlice, int maxSegmentsPerSlice)Static method to segregate LeafReaderContexts amongst multiple slicesConstructors in org.apache.lucene.search with parameters of type LeafReaderContext Constructor Description TopFieldLeafCollector(FieldValueHitQueue<FieldValueHitQueue.Entry> queue, Sort sort, LeafReaderContext context)Constructor parameters in org.apache.lucene.search with type arguments of type LeafReaderContext Constructor Description LeafSlice(java.util.List<LeafReaderContext> leavesList)LRUQueryCache(int maxSize, long maxRamBytesUsed, java.util.function.Predicate<LeafReaderContext> leavesToCache, float skipCacheFactor)Expert: Create a new instance that will cache at mostmaxSizequeries with at mostmaxRamBytesUsedbytes of memory, only on leaves that satisfyleavesToCache. -
Uses of LeafReaderContext in org.apache.lucene.search.comparators
Methods in org.apache.lucene.search.comparators with parameters of type LeafReaderContext Modifier and Type Method Description LeafFieldComparatorDocComparator. getLeafComparator(LeafReaderContext context)LeafFieldComparatorDoubleComparator. getLeafComparator(LeafReaderContext context)LeafFieldComparatorFloatComparator. getLeafComparator(LeafReaderContext context)LeafFieldComparatorIntComparator. getLeafComparator(LeafReaderContext context)LeafFieldComparatorLongComparator. getLeafComparator(LeafReaderContext context)protected NumericDocValuesNumericComparator.NumericLeafComparator. getNumericDocValues(LeafReaderContext context, java.lang.String field)Retrieves the NumericDocValues for the field in this segmentConstructors in org.apache.lucene.search.comparators with parameters of type LeafReaderContext Constructor Description DocLeafComparator(LeafReaderContext context)DoubleLeafComparator(LeafReaderContext context)FloatLeafComparator(LeafReaderContext context)IntLeafComparator(LeafReaderContext context)LongLeafComparator(LeafReaderContext context)NumericLeafComparator(LeafReaderContext context) -
Uses of LeafReaderContext in org.apache.lucene.search.grouping
Fields in org.apache.lucene.search.grouping declared as LeafReaderContext Modifier and Type Field Description protected LeafReaderContextAllGroupHeadsCollector. contextprivate LeafReaderContextDoubleRangeGroupSelector. contextprivate LeafReaderContextLongRangeGroupSelector. contextprivate LeafReaderContextBlockGroupingCollector. currentReaderContext(package private) LeafReaderContextBlockGroupingCollector.OneGroup. readerContextMethods in org.apache.lucene.search.grouping with parameters of type LeafReaderContext Modifier and Type Method Description protected voidAllGroupHeadsCollector. doSetNextReader(LeafReaderContext context)protected voidAllGroupsCollector. doSetNextReader(LeafReaderContext context)protected voidBlockGroupingCollector. doSetNextReader(LeafReaderContext readerContext)protected voidDistinctValuesCollector.ValuesCollector. doSetNextReader(LeafReaderContext context)protected voidFirstPassGroupingCollector. doSetNextReader(LeafReaderContext readerContext)protected voidSecondPassGroupingCollector. doSetNextReader(LeafReaderContext readerContext)protected voidTermGroupFacetCollector.MV. doSetNextReader(LeafReaderContext context)protected voidTermGroupFacetCollector.SV. doSetNextReader(LeafReaderContext context)protected abstract AllGroupHeadsCollector.GroupHead<T>AllGroupHeadsCollector. newGroupHead(int doc, T value, LeafReaderContext context, Scorable scorer)Create a new GroupHead for the given group value, initialized with a doc, context and scorerprotected AllGroupHeadsCollector.GroupHead<T>AllGroupHeadsCollector.ScoringGroupHeadsCollector. newGroupHead(int doc, T value, LeafReaderContext context, Scorable scorer)protected AllGroupHeadsCollector.GroupHead<T>AllGroupHeadsCollector.SortingGroupHeadsCollector. newGroupHead(int doc, T value, LeafReaderContext ctx, Scorable scorer)protected voidAllGroupHeadsCollector.GroupHead. setNextReader(LeafReaderContext ctx)Called for each segmentvoidAllGroupHeadsCollector.SortingGroupHead. setNextReader(LeafReaderContext ctx)voidDoubleRangeGroupSelector. setNextReader(LeafReaderContext readerContext)voidGroupReducer. setNextReader(LeafReaderContext ctx)Called when the parentSecondPassGroupingCollectormoves to a new segmentabstract voidGroupSelector. setNextReader(LeafReaderContext readerContext)Set the LeafReaderContextvoidLongRangeGroupSelector. setNextReader(LeafReaderContext readerContext)voidTermGroupSelector. setNextReader(LeafReaderContext readerContext)voidValueSourceGroupSelector. setNextReader(LeafReaderContext readerContext)Constructors in org.apache.lucene.search.grouping with parameters of type LeafReaderContext Constructor Description SortingGroupHead(Sort sort, T groupValue, int doc, LeafReaderContext context, Scorable scorer) -
Uses of LeafReaderContext in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight that return LeafReaderContext Modifier and Type Method Description protected LeafReaderContextWeightedSpanTermExtractor. getLeafContext() -
Uses of LeafReaderContext in org.apache.lucene.search.join
Methods in org.apache.lucene.search.join with parameters of type LeafReaderContext Modifier and Type Method Description protected voidDocValuesTermsCollector. doSetNextReader(LeafReaderContext context)ExplanationGlobalOrdinalsQuery.W. explain(LeafReaderContext context, int doc)ExplanationGlobalOrdinalsWithScoreQuery.W. explain(LeafReaderContext context, int doc)ExplanationToChildBlockJoinQuery.ToChildBlockJoinWeight. explain(LeafReaderContext context, int doc)ExplanationToParentBlockJoinQuery.BlockJoinScorer. explain(LeafReaderContext context, Weight childWeight)ExplanationToParentBlockJoinQuery.BlockJoinWeight. explain(LeafReaderContext context, int doc)BitSetBitSetProducer. getBitSet(LeafReaderContext context)Produce aBitSetmatching the expected documents on the given segment.BitSetQueryBitSetProducer. getBitSet(LeafReaderContext context)LeafCollectorGlobalOrdinalsCollector. getLeafCollector(LeafReaderContext context)LeafCollectorGlobalOrdinalsWithScoreCollector. getLeafCollector(LeafReaderContext context)LeafCollectorGlobalOrdinalsWithScoreCollector.NoScore. getLeafCollector(LeafReaderContext context)booleanGlobalOrdinalsQuery.W. isCacheable(LeafReaderContext ctx)booleanGlobalOrdinalsWithScoreQuery.W. isCacheable(LeafReaderContext ctx)MatchesToParentBlockJoinQuery.BlockJoinWeight. matches(LeafReaderContext context, int doc)ScorerGlobalOrdinalsQuery.W. scorer(LeafReaderContext context)ScorerGlobalOrdinalsWithScoreQuery.W. scorer(LeafReaderContext context)ScorerToChildBlockJoinQuery.ToChildBlockJoinWeight. scorer(LeafReaderContext readerContext)ScorerToParentBlockJoinQuery.BlockJoinWeight. scorer(LeafReaderContext context)ScorerSupplierToParentBlockJoinQuery.BlockJoinWeight. scorerSupplier(LeafReaderContext context) -
Uses of LeafReaderContext in org.apache.lucene.search.matchhighlight
Fields in org.apache.lucene.search.matchhighlight with type parameters of type LeafReaderContext Modifier and Type Field Description private java.util.List<LeafReaderContext>MatchRegionRetriever. leavesMethods in org.apache.lucene.search.matchhighlight with parameters of type LeafReaderContext Modifier and Type Method Description voidMatchRegionRetriever. highlightDocument(LeafReaderContext leafReaderContext, int contextDocId, MatchRegionRetriever.FieldValueProvider doc, java.util.function.Predicate<java.lang.String> acceptField, java.util.Map<java.lang.String,java.util.List<OffsetRange>> outputHighlights)Low-level method for retrieving hit ranges for a single document.Method parameters in org.apache.lucene.search.matchhighlight with type arguments of type LeafReaderContext Modifier and Type Method Description private booleanMatchRegionRetriever. checkOrderConsistency(java.util.List<LeafReaderContext> leaves)Constructors in org.apache.lucene.search.matchhighlight with parameters of type LeafReaderContext Constructor Description DocumentFieldValueProvider(LeafReaderContext currentContext, int docId, java.util.Set<java.lang.String> preloadFields) -
Uses of LeafReaderContext in org.apache.lucene.search.suggest
Fields in org.apache.lucene.search.suggest with type parameters of type LeafReaderContext Modifier and Type Field Description private java.util.List<LeafReaderContext>DocumentValueSourceDictionary.DocumentValueSourceInputIterator. leavesleaves of the readerMethods in org.apache.lucene.search.suggest with parameters of type LeafReaderContext Modifier and Type Method Description abstract BitsBitsProducer. getBits(LeafReaderContext context)ReturnBitsfor the given leaf. -
Uses of LeafReaderContext in org.apache.lucene.search.suggest.document
Methods in org.apache.lucene.search.suggest.document with parameters of type LeafReaderContext Modifier and Type Method Description BulkScorerCompletionWeight. bulkScorer(LeafReaderContext context)protected voidTopSuggestDocsCollector. doSetNextReader(LeafReaderContext context)ExplanationCompletionWeight. explain(LeafReaderContext context, int doc)booleanCompletionWeight. isCacheable(LeafReaderContext ctx)This object can be cachedScorerCompletionWeight. scorer(LeafReaderContext context) -
Uses of LeafReaderContext in org.apache.lucene.spatial3d
Methods in org.apache.lucene.spatial3d with parameters of type LeafReaderContext Modifier and Type Method Description LeafFieldComparatorGeo3DPointDistanceComparator. getLeafComparator(LeafReaderContext context)LeafFieldComparatorGeo3DPointOutsideDistanceComparator. getLeafComparator(LeafReaderContext context)
-