Uses of Class
org.apache.lucene.index.AtomicReaderContext
-
Packages that use AtomicReaderContext Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search Code to search indices.org.apache.lucene.search.payloads The payloads package provides Query mechanisms for finding and using payloads.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. -
-
Uses of AtomicReaderContext in org.apache.lucene.index
Methods in org.apache.lucene.index that return AtomicReaderContext Modifier and Type Method Description AtomicReaderContext
AtomicReader. getContext()
Methods in org.apache.lucene.index that return types with arguments of type AtomicReaderContext Modifier and Type Method Description List<AtomicReaderContext>
AtomicReaderContext. leaves()
List<AtomicReaderContext>
CompositeReaderContext. leaves()
List<AtomicReaderContext>
IndexReader. leaves()
Returns the reader's leaves, or itself if this reader is atomic.abstract List<AtomicReaderContext>
IndexReaderContext. leaves()
Returns the context's leaves if this context is a top-level context.Method parameters in org.apache.lucene.index with type arguments of type AtomicReaderContext Modifier and Type Method Description static int
ReaderUtil. subIndex(int n, List<AtomicReaderContext> leaves)
Returns index of the searcher/reader for documentn
in the array used to construct this searcher/reader. -
Uses of AtomicReaderContext in org.apache.lucene.search
Fields in org.apache.lucene.search with type parameters of type AtomicReaderContext Modifier and Type Field Description protected List<AtomicReaderContext>
IndexSearcher. leafContexts
Methods in org.apache.lucene.search with parameters of type AtomicReaderContext Modifier and Type Method Description Explanation
BooleanQuery.BooleanWeight. explain(AtomicReaderContext context, int doc)
Explanation
ConstantScoreQuery.ConstantWeight. explain(AtomicReaderContext context, int doc)
Explanation
DisjunctionMaxQuery.DisjunctionMaxWeight. explain(AtomicReaderContext context, int doc)
Explain the score we computed for docabstract Explanation
Weight. explain(AtomicReaderContext context, int doc)
An explanation of the score computation for the named document.abstract Scorer
FilteredQuery.FilterStrategy. filteredScorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Weight weight, DocIdSet docIdSet)
Returns a filteredScorer
based on this strategy.Scorer
FilteredQuery.RandomAccessFilterStrategy. filteredScorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Weight weight, DocIdSet docIdSet)
DocIdSet
CachingWrapperFilter. getDocIdSet(AtomicReaderContext context, Bits acceptDocs)
abstract DocIdSet
DocTermOrdsRangeFilter. getDocIdSet(AtomicReaderContext context, Bits acceptDocs)
This method is implemented for each data typeabstract DocIdSet
FieldCacheRangeFilter. getDocIdSet(AtomicReaderContext context, Bits acceptDocs)
This method is implemented for each data typeDocIdSet
FieldCacheTermsFilter. getDocIdSet(AtomicReaderContext context, Bits acceptDocs)
DocIdSet
FieldValueFilter. getDocIdSet(AtomicReaderContext context, Bits acceptDocs)
abstract DocIdSet
Filter. getDocIdSet(AtomicReaderContext context, Bits acceptDocs)
Creates aDocIdSet
enumerating the documents that should be permitted in search results.DocIdSet
MultiTermQueryWrapperFilter. getDocIdSet(AtomicReaderContext context, Bits acceptDocs)
Returns a DocIdSet with documents that should be permitted in search results.DocIdSet
QueryWrapperFilter. getDocIdSet(AtomicReaderContext context, Bits acceptDocs)
Scorer
BooleanQuery.BooleanWeight. scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)
Scorer
ConstantScoreQuery.ConstantWeight. scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)
Scorer
DisjunctionMaxQuery.DisjunctionMaxWeight. scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)
Create the scorer used to score our associated DisjunctionMaxQueryabstract Scorer
Weight. scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)
Returns aScorer
which scores documents in/out-of order according toscoreDocsInOrder
.void
CachingCollector. setNextReader(AtomicReaderContext context)
abstract void
Collector. setNextReader(AtomicReaderContext context)
Called before collecting from eachAtomicReaderContext
.FieldComparator<Byte>
FieldComparator.ByteComparator. setNextReader(AtomicReaderContext context)
Deprecated.FieldComparator<Integer>
FieldComparator.DocComparator. setNextReader(AtomicReaderContext context)
FieldComparator<Double>
FieldComparator.DoubleComparator. setNextReader(AtomicReaderContext context)
FieldComparator<Float>
FieldComparator.FloatComparator. setNextReader(AtomicReaderContext context)
FieldComparator<Integer>
FieldComparator.IntComparator. setNextReader(AtomicReaderContext context)
FieldComparator<Long>
FieldComparator.LongComparator. setNextReader(AtomicReaderContext context)
FieldComparator<T>
FieldComparator.NumericComparator. setNextReader(AtomicReaderContext context)
FieldComparator<Float>
FieldComparator.RelevanceComparator. setNextReader(AtomicReaderContext context)
abstract FieldComparator<T>
FieldComparator. setNextReader(AtomicReaderContext context)
Set a newAtomicReaderContext
.FieldComparator<Short>
FieldComparator.ShortComparator. setNextReader(AtomicReaderContext context)
Deprecated.FieldComparator<BytesRef>
FieldComparator.TermOrdValComparator. setNextReader(AtomicReaderContext context)
FieldComparator<BytesRef>
FieldComparator.TermValComparator. setNextReader(AtomicReaderContext context)
void
MultiCollector. setNextReader(AtomicReaderContext context)
void
PositiveScoresOnlyCollector. setNextReader(AtomicReaderContext context)
void
TimeLimitingCollector. setNextReader(AtomicReaderContext context)
void
TopScoreDocCollector. setNextReader(AtomicReaderContext context)
void
TotalHitCountCollector. setNextReader(AtomicReaderContext context)
Method parameters in org.apache.lucene.search with type arguments of type AtomicReaderContext Modifier and Type Method Description protected void
IndexSearcher. search(List<AtomicReaderContext> leaves, Weight weight, Collector collector)
Lower-level search API.protected TopFieldDocs
IndexSearcher. search(List<AtomicReaderContext> leaves, Weight weight, FieldDoc after, int nDocs, Sort sort, boolean fillFields, boolean doDocScores, boolean doMaxScore)
Just likeIndexSearcher.search(Weight, int, Sort, boolean, boolean)
, but you choose whether or not the fields in the returnedFieldDoc
instances should be set by specifying fillFields.protected TopDocs
IndexSearcher. search(List<AtomicReaderContext> leaves, Weight weight, ScoreDoc after, int nDocs)
Expert: Low-level search implementation.protected IndexSearcher.LeafSlice[]
IndexSearcher. slices(List<AtomicReaderContext> 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 AtomicReaderContext Constructor Description LeafSlice(AtomicReaderContext... leaves)
-
Uses of AtomicReaderContext in org.apache.lucene.search.payloads
Methods in org.apache.lucene.search.payloads with parameters of type AtomicReaderContext Modifier and Type Method Description Explanation
PayloadNearQuery.PayloadNearSpanWeight. explain(AtomicReaderContext context, int doc)
Explanation
PayloadTermQuery.PayloadTermWeight. explain(AtomicReaderContext context, int doc)
Scorer
PayloadNearQuery.PayloadNearSpanWeight. scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)
Scorer
PayloadTermQuery.PayloadTermWeight. scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)
-
Uses of AtomicReaderContext in org.apache.lucene.search.similarities
Methods in org.apache.lucene.search.similarities with parameters of type AtomicReaderContext Modifier and Type Method Description Similarity.SimScorer
BM25Similarity. simScorer(Similarity.SimWeight stats, AtomicReaderContext context)
Similarity.SimScorer
MultiSimilarity. simScorer(Similarity.SimWeight stats, AtomicReaderContext context)
Similarity.SimScorer
PerFieldSimilarityWrapper. simScorer(Similarity.SimWeight weight, AtomicReaderContext context)
abstract Similarity.SimScorer
Similarity. simScorer(Similarity.SimWeight weight, AtomicReaderContext context)
Creates a newSimilarity.SimScorer
to score matching documents from a segment of the inverted index.Similarity.SimScorer
SimilarityBase. simScorer(Similarity.SimWeight stats, AtomicReaderContext context)
Similarity.SimScorer
TFIDFSimilarity. simScorer(Similarity.SimWeight stats, AtomicReaderContext context)
-
Uses of AtomicReaderContext in org.apache.lucene.search.spans
Methods in org.apache.lucene.search.spans with parameters of type AtomicReaderContext Modifier and Type Method Description Explanation
SpanWeight. explain(AtomicReaderContext context, int doc)
Spans
FieldMaskingSpanQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanMultiTermQueryWrapper. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanNearQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanNotQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanOrQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Spans
SpanPositionCheckQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
abstract Spans
SpanQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Expert: Returns the matches for this query in an index.Spans
SpanTermQuery. getSpans(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
Scorer
SpanWeight. scorer(AtomicReaderContext context, boolean scoreDocsInOrder, boolean topScorer, Bits acceptDocs)
Constructors in org.apache.lucene.search.spans with parameters of type AtomicReaderContext Constructor Description NearSpansOrdered(SpanNearQuery spanNearQuery, AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
NearSpansOrdered(SpanNearQuery spanNearQuery, AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts, boolean collectPayloads)
NearSpansUnordered(SpanNearQuery query, AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
PositionCheckSpan(AtomicReaderContext context, Bits acceptDocs, Map<Term,TermContext> termContexts)
-