Uses of Class
org.apache.lucene.index.LeafReaderContext
-
Packages that use LeafReaderContext Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search Code to search indices.org.apache.lucene.search.spans The calculus of spans. -
-
Uses of LeafReaderContext in org.apache.lucene.index
Methods 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 List<LeafReaderContext>CompositeReaderContext. leaves()List<LeafReaderContext>IndexReader. leaves()Returns the reader's leaves, or itself if this reader is atomic.abstract List<LeafReaderContext>IndexReaderContext. leaves()Returns the context's leaves if this context is a top-level context.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, String... fields)Returnstrueif the specified docvalues fields have not been updatedMethod parameters in org.apache.lucene.index with type arguments of type LeafReaderContext Modifier and Type Method Description static intReaderUtil. subIndex(int n, 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.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.Fields in org.apache.lucene.search with type parameters of type LeafReaderContext Modifier and Type Field Description protected List<LeafReaderContext>IndexSearcher. leafContextsMethods in org.apache.lucene.search with parameters of type LeafReaderContext Modifier and Type Method Description BulkScorerWeight. bulkScorer(LeafReaderContext context)Optional method, to return aBulkScorerto score the query and send hits to aCollector.protected voidFieldComparator.NumericComparator. 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.ExplanationConstantScoreWeight. explain(LeafReaderContext context, int doc)ExplanationDisjunctionMaxQuery.DisjunctionMaxWeight. explain(LeafReaderContext context, int doc)Explain the score we computed for docExplanationDoubleValuesSource. explain(LeafReaderContext ctx, int docId, Explanation scoreExplanation)An explanation of the value for the named document.ExplanationFilterWeight. explain(LeafReaderContext context, int doc)abstract ExplanationWeight. explain(LeafReaderContext context, int doc)An explanation of the score computation for the named document.protected BinaryDocValuesFieldComparator.TermValComparator. getBinaryDocValues(LeafReaderContext context, String field)Retrieves the BinaryDocValues for the field in this segmentLeafFieldComparator[]FieldValueHitQueue. getComparators(LeafReaderContext context)LeafCollectorCollector. getLeafCollector(LeafReaderContext context)Create a newcollectorto collect the given context.LeafCollectorFilterCollector. getLeafCollector(LeafReaderContext context)LeafCollectorMultiCollector. getLeafCollector(LeafReaderContext context)LeafCollectorMultiCollectorManager.Collectors. getLeafCollector(LeafReaderContext context)LeafCollectorPositiveScoresOnlyCollector. getLeafCollector(LeafReaderContext context)LeafCollectorSimpleCollector. getLeafCollector(LeafReaderContext context)LeafCollectorTimeLimitingCollector. getLeafCollector(LeafReaderContext context)LeafFieldComparatorFieldComparator.DocComparator. getLeafComparator(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 NumericDocValuesFieldComparator.NumericComparator. getNumericDocValues(LeafReaderContext context, String field)Retrieves the NumericDocValues for the field in this segmentprotected SortedDocValuesFieldComparator.TermOrdValComparator. getSortedDocValues(LeafReaderContext context, String field)Retrieves the SortedDocValues for the field in this segmentabstract DoubleValuesDoubleValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)Returns aDoubleValuesinstance for the passed-in LeafReaderContext and scores If scores are not needed to calculate the values (iereturns false, callers may safely passnullfor thescoresparameter.abstract LongValuesLongValuesSource. getValues(LeafReaderContext ctx, DoubleValues scores)Returns aLongValuesinstance for the passed-in LeafReaderContext and scores If scores are not needed to calculate the values (iereturns false, callers may safely passnullfor thescoresparameter.booleanDisjunctionMaxQuery.DisjunctionMaxWeight. isCacheable(LeafReaderContext ctx)booleanFilterWeight. isCacheable(LeafReaderContext ctx)booleanSegmentCacheable. isCacheable(LeafReaderContext ctx)MatchesDisjunctionMaxQuery.DisjunctionMaxWeight. matches(LeafReaderContext context, int doc)MatchesFilterWeight. matches(LeafReaderContext context, int doc)MatchesWeight. matches(LeafReaderContext context, int doc)ReturnsMatchesfor a specific document, ornullif the document does not match the parent query A query match that contains no position information (for example, a Point or DocValues query) will returnMatchesUtils.MATCH_WITH_NO_TERMSScorerDisjunctionMaxQuery.DisjunctionMaxWeight. scorer(LeafReaderContext context)Create the scorer used to score our associated DisjunctionMaxQueryScorerFilterWeight. scorer(LeafReaderContext context)abstract ScorerWeight. scorer(LeafReaderContext context)Returns aScorerwhich can iterate in order over all matching documents and assign them a score.ScorerSupplierWeight. scorerSupplier(LeafReaderContext context)Optional method.Method parameters in org.apache.lucene.search with type arguments of type LeafReaderContext Modifier and Type Method Description protected voidIndexSearcher. search(List<LeafReaderContext> leaves, Weight weight, Collector collector)Lower-level search API.protected IndexSearcher.LeafSlice[]IndexSearcher. slices(List<LeafReaderContext> leaves)Expert: Creates an array of leaf slices each holding a subset of the given leaves.Constructors in org.apache.lucene.search with parameters of type LeafReaderContext Constructor Description LeafSlice(LeafReaderContext... leaves)Constructor parameters in org.apache.lucene.search with type arguments of type LeafReaderContext Constructor Description LRUQueryCache(int maxSize, long maxRamBytesUsed, Predicate<LeafReaderContext> leavesToCache)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.spans
Methods in org.apache.lucene.search.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.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.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)SpanScorerSpanWeight. scorer(LeafReaderContext context)
-