Package | Description |
---|---|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.codecs.compressing |
StoredFieldsFormat that allows cross-document and cross-field compression of stored fields.
|
org.apache.lucene.codecs.idversion |
A primary-key postings format that associates a version (long) with each term and
can provide fail-fast lookups by ID and version.
|
org.apache.lucene.codecs.lucene50 |
Components from the Lucene 5.0 index format
See
org.apache.lucene.codecs.lucene53 for an overview
of the index format. |
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.index.memory |
High-performance single-document main memory Apache Lucene fulltext search index.
|
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
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.join |
Support for index-time and query-time joins.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
BitSetPostingsEnum
Takes a
FixedBitSet and creates a DOCS PostingsEnum from it. |
Modifier and Type | Field and Description |
---|---|
private DocIdSetIterator |
BitSetPostingsEnum.in |
Modifier and Type | Class and Description |
---|---|
private static class |
CompressingTermVectorsReader.TVPostingsEnum |
Modifier and Type | Class and Description |
---|---|
(package private) class |
SingleDocsEnum |
(package private) class |
SinglePostingsEnum |
Modifier and Type | Class and Description |
---|---|
(package private) class |
Lucene50PostingsReader.BlockDocsEnum |
(package private) class |
Lucene50PostingsReader.BlockPostingsEnum |
(package private) class |
Lucene50PostingsReader.EverythingEnum |
Modifier and Type | Class and Description |
---|---|
static class |
FilterLeafReader.FilterPostingsEnum
Base class for filtering
PostingsEnum implementations. |
private static class |
FreqProxFields.FreqProxDocsEnum |
private static class |
FreqProxFields.FreqProxPostingsEnum |
(package private) class |
MappingMultiPostingsEnum
Exposes flex API, merged from flex API of sub-segments,
remapping docIDs (this is used for segment merging).
|
class |
MultiPostingsEnum
Exposes
PostingsEnum , merged from PostingsEnum
API of sub-segments. |
class |
PostingsEnum
Iterates through the postings.
|
(package private) static class |
SortingLeafReader.SortingDocsEnum |
(package private) static class |
SortingLeafReader.SortingPostingsEnum |
Modifier and Type | Class and Description |
---|---|
private class |
MemoryIndex.MemoryIndexReader.MemoryPostingsEnum |
Modifier and Type | Field and Description |
---|---|
private DocIdSetIterator |
ValueSourceScorer.disi |
(package private) DocIdSetIterator |
FunctionQuery.AllScorer.iterator |
Modifier and Type | Method and Description |
---|---|
DocIdSetIterator |
FunctionQuery.AllScorer.iterator() |
DocIdSetIterator |
ValueSourceScorer.iterator() |
Modifier and Type | Field and Description |
---|---|
(package private) DocIdSetIterator |
QueryDocValues.it |
Modifier and Type | Class and Description |
---|---|
private class |
PayloadScoreQuery.PayloadSpans |
Modifier and Type | Class and Description |
---|---|
class |
ConjunctionDISI
A conjunction of DocIdSetIterators.
|
private static class |
ConjunctionDISI.TwoPhase
A conjunction DISI built on top of approximations.
|
class |
DisjunctionDISIApproximation
A
DocIdSetIterator which is a disjunction of the approximations of
the provided iterators. |
class |
FilteredDocIdSetIterator
Abstract decorator class of a DocIdSetIterator
implementation that provides on-demand filter/validation
mechanism on an underlying DocIdSetIterator.
|
(package private) static class |
MultiPhraseQuery.UnionPostingsEnum
Takes the logical union of multiple PostingsEnum iterators.
|
Modifier and Type | Field and Description |
---|---|
protected DocIdSetIterator |
FilteredDocIdSetIterator._innerIter |
DocIdSetIterator |
DisiWrapper.approximation |
protected DocIdSetIterator |
TwoPhaseIterator.approximation |
private DocIdSetIterator |
ConstantScoreScorer.disi |
private DocIdSetIterator |
ReqExclBulkScorer.excl |
private DocIdSetIterator |
ReqExclScorer.exclApproximation |
(package private) DocIdSetIterator |
ConjunctionScorer.DocsAndFreqs.iterator |
DocIdSetIterator |
DisiWrapper.iterator |
private DocIdSetIterator |
Weight.DefaultBulkScorer.iterator |
(package private) DocIdSetIterator |
ConjunctionDISI.lead |
protected DocIdSetIterator |
ReqOptSumScorer.optIterator |
(package private) DocIdSetIterator[] |
ConjunctionDISI.others |
private DocIdSetIterator |
ReqExclScorer.reqApproximation |
Modifier and Type | Method and Description |
---|---|
static DocIdSetIterator |
DocIdSetIterator.all(int maxDoc)
A
DocIdSetIterator that matches all documents up to
maxDoc - 1 . |
DocIdSetIterator |
TwoPhaseIterator.approximation()
Return an approximation.
|
static DocIdSetIterator |
TwoPhaseIterator.asDocIdSetIterator(TwoPhaseIterator twoPhaseIterator)
Return a
DocIdSetIterator view of the provided
TwoPhaseIterator . |
static DocIdSetIterator |
DocIdSetIterator.empty()
An empty
DocIdSetIterator instance |
DocIdSetIterator |
FilteredDocIdSetIterator.getDelegate()
Return the wrapped
DocIdSetIterator . |
DocIdSetIterator |
CachingCollector.CachedScorer.iterator() |
DocIdSetIterator |
ConjunctionScorer.iterator() |
DocIdSetIterator |
ConstantScoreScorer.iterator() |
DocIdSetIterator |
DisjunctionScorer.iterator() |
abstract DocIdSetIterator |
DocIdSet.iterator()
Provides a
DocIdSetIterator to access the set. |
DocIdSetIterator |
DocValuesDocIdSet.iterator() |
DocIdSetIterator |
ExactPhraseScorer.iterator() |
DocIdSetIterator |
FakeScorer.iterator() |
DocIdSetIterator |
FilterScorer.iterator() |
DocIdSetIterator |
MinShouldMatchSumScorer.iterator() |
DocIdSetIterator |
ReqExclScorer.iterator() |
DocIdSetIterator |
ReqOptSumScorer.iterator() |
abstract DocIdSetIterator |
Scorer.iterator()
Return a
DocIdSetIterator over matching documents. |
DocIdSetIterator |
SloppyPhraseScorer.iterator() |
DocIdSetIterator |
TermScorer.iterator() |
DocIdSetIterator |
TermAutomatonScorer.iterator() |
Modifier and Type | Method and Description |
---|---|
private static void |
ConjunctionDISI.addIterator(DocIdSetIterator disi,
java.util.List<DocIdSetIterator> allIterators,
java.util.List<TwoPhaseIterator> twoPhaseIterators) |
private static float |
ReqExclScorer.matchCost(DocIdSetIterator reqApproximation,
TwoPhaseIterator reqTwoPhaseIterator,
DocIdSetIterator exclApproximation,
TwoPhaseIterator exclTwoPhaseIterator) |
(package private) static void |
Weight.DefaultBulkScorer.scoreAll(LeafCollector collector,
DocIdSetIterator iterator,
TwoPhaseIterator twoPhase,
Bits acceptDocs)
Specialized method to bulk-score all hits; we
separate this from
Weight.DefaultBulkScorer.scoreRange(org.apache.lucene.search.LeafCollector, org.apache.lucene.search.DocIdSetIterator, org.apache.lucene.search.TwoPhaseIterator, org.apache.lucene.util.Bits, int, int) to help out
hotspot. |
(package private) static int |
Weight.DefaultBulkScorer.scoreRange(LeafCollector collector,
DocIdSetIterator iterator,
TwoPhaseIterator twoPhase,
Bits acceptDocs,
int currentDoc,
int end)
Specialized method to bulk-score a range of hits; we
separate this from
Weight.DefaultBulkScorer.scoreAll(org.apache.lucene.search.LeafCollector, org.apache.lucene.search.DocIdSetIterator, org.apache.lucene.search.TwoPhaseIterator, org.apache.lucene.util.Bits) to help out
hotspot. |
Modifier and Type | Method and Description |
---|---|
private static void |
ConjunctionDISI.addIterator(DocIdSetIterator disi,
java.util.List<DocIdSetIterator> allIterators,
java.util.List<TwoPhaseIterator> twoPhaseIterators) |
private static void |
ConjunctionDISI.addScorer(Scorer scorer,
java.util.List<DocIdSetIterator> allIterators,
java.util.List<TwoPhaseIterator> twoPhaseIterators)
Adds the scorer, possibly splitting up into two phases or collapsing if it is another conjunction
|
private static void |
ConjunctionDISI.addSpans(Spans spans,
java.util.List<DocIdSetIterator> allIterators,
java.util.List<TwoPhaseIterator> twoPhaseIterators)
Adds the Spans.
|
private static void |
ConjunctionDISI.addTwoPhaseIterator(TwoPhaseIterator twoPhaseIter,
java.util.List<DocIdSetIterator> allIterators,
java.util.List<TwoPhaseIterator> twoPhaseIterators) |
static ConjunctionDISI |
ConjunctionDISI.intersectIterators(java.util.List<DocIdSetIterator> iterators)
Create a conjunction over the provided DocIdSetIterators.
|
Constructor and Description |
---|
ConstantScoreScorer(Weight weight,
float score,
DocIdSetIterator disi)
Constructor based on a
DocIdSetIterator which will be used to
drive iteration. |
DocsAndFreqs(DocIdSetIterator iterator) |
FilteredDocIdSetIterator(DocIdSetIterator innerIter)
Constructor.
|
ReqExclBulkScorer(BulkScorer req,
DocIdSetIterator excl) |
TwoPhase(DocIdSetIterator approximation,
float matchCost) |
TwoPhaseIterator(DocIdSetIterator approximation)
Takes the approximation to be returned by
TwoPhaseIterator.approximation . |
Constructor and Description |
---|
ConjunctionDISI(java.util.List<? extends DocIdSetIterator> iterators) |
TwoPhase(java.util.List<? extends DocIdSetIterator> iterators,
java.util.List<TwoPhaseIterator> twoPhaseIterators) |
TwoPhaseConjunctionDISI(java.util.List<? extends DocIdSetIterator> iterators,
java.util.List<TwoPhaseIterator> twoPhaseIterators) |
Modifier and Type | Field and Description |
---|---|
private DocIdSetIterator |
BlockGroupingCollector.lastDocPerGroupBits |
Modifier and Type | Method and Description |
---|---|
DocIdSetIterator |
FakeScorer.iterator() |
Modifier and Type | Field and Description |
---|---|
(package private) DocIdSetIterator |
BaseGlobalOrdinalScorer.approximation |
(package private) DocIdSetIterator |
TermsIncludingScoreQuery.SVInOrderScorer.matchingDocsIterator |
private DocIdSetIterator |
ToChildBlockJoinQuery.ToChildBlockJoinScorer.parentIt |
Modifier and Type | Method and Description |
---|---|
DocIdSetIterator |
BaseGlobalOrdinalScorer.iterator() |
DocIdSetIterator |
FakeScorer.iterator() |
DocIdSetIterator |
TermsIncludingScoreQuery.SVInOrderScorer.iterator() |
DocIdSetIterator |
ToChildBlockJoinQuery.ToChildBlockJoinScorer.iterator() |
DocIdSetIterator |
ToParentBlockJoinQuery.BlockJoinScorer.iterator() |
Modifier and Type | Method and Description |
---|---|
protected abstract TwoPhaseIterator |
BaseGlobalOrdinalScorer.createTwoPhaseIterator(DocIdSetIterator approximation) |
protected TwoPhaseIterator |
GlobalOrdinalsQuery.OrdinalMapScorer.createTwoPhaseIterator(DocIdSetIterator approximation) |
protected TwoPhaseIterator |
GlobalOrdinalsQuery.SegmentOrdinalScorer.createTwoPhaseIterator(DocIdSetIterator approximation) |
protected TwoPhaseIterator |
GlobalOrdinalsWithScoreQuery.OrdinalMapScorer.createTwoPhaseIterator(DocIdSetIterator approximation) |
protected TwoPhaseIterator |
GlobalOrdinalsWithScoreQuery.SegmentOrdinalScorer.createTwoPhaseIterator(DocIdSetIterator approximation) |
Constructor and Description |
---|
BaseGlobalOrdinalScorer(Weight weight,
SortedDocValues values,
DocIdSetIterator approximationScorer) |
OrdinalMapScorer(Weight weight,
float score,
LongBitSet foundOrds,
SortedDocValues values,
DocIdSetIterator approximationScorer,
LongValues segmentOrdToGlobalOrdLookup) |
OrdinalMapScorer(Weight weight,
GlobalOrdinalsWithScoreCollector collector,
SortedDocValues values,
DocIdSetIterator approximation,
LongValues segmentOrdToGlobalOrdLookup) |
SegmentOrdinalScorer(Weight weight,
float score,
LongBitSet foundOrds,
SortedDocValues values,
DocIdSetIterator approximationScorer) |
SegmentOrdinalScorer(Weight weight,
GlobalOrdinalsWithScoreCollector collector,
SortedDocValues values,
DocIdSetIterator approximation) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ConjunctionSpans
Common super class for multiple sub spans required in a document.
|
(package private) class |
ContainSpans |
class |
FilterSpans
A
Spans implementation wrapping another spans instance,
allowing to filter spans matches easily by implementing FilterSpans.accept(org.apache.lucene.search.spans.Spans) |
class |
NearSpansOrdered
A Spans that is formed from the ordered subspans of a SpanNearQuery
where the subspans do not overlap and have a maximum slop between them.
|
class |
NearSpansUnordered
Similar to
NearSpansOrdered , but for the unordered case. |
private class |
NearSpansUnordered.SpansCell |
class |
ScoringWrapperSpans
A Spans that wraps another Spans with a different SimScorer
|
(package private) static class |
SpanNearQuery.GapSpans |
class |
Spans
Iterates through combinations of start/end positions per-doc.
|
class |
TermSpans
Expert:
Public for extension only.
|
Modifier and Type | Field and Description |
---|---|
(package private) DocIdSetIterator |
ConjunctionSpans.conjunction |
Modifier and Type | Method and Description |
---|---|
DocIdSetIterator |
SpanScorer.iterator() |
Modifier and Type | Class and Description |
---|---|
class |
BitSetIterator
A
DocIdSetIterator which iterates over set bits in a
bit set. |
(package private) static class |
IntArrayDocIdSet.IntArrayDocIdSetIterator |
private class |
RoaringDocIdSet.Iterator |
Modifier and Type | Field and Description |
---|---|
(package private) DocIdSetIterator |
RoaringDocIdSet.Iterator.sub |
Modifier and Type | Method and Description |
---|---|
DocIdSetIterator |
BitDocIdSet.iterator() |
DocIdSetIterator |
IntArrayDocIdSet.iterator() |
DocIdSetIterator |
NotDocIdSet.iterator() |
DocIdSetIterator |
RoaringDocIdSet.iterator() |
DocIdSetIterator |
RoaringDocIdSet.ShortArrayDocIdSet.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
DocIdSetBuilder.add(DocIdSetIterator iter)
Add the content of the provided
DocIdSetIterator to this builder. |
RoaringDocIdSet.Builder |
RoaringDocIdSet.Builder.add(DocIdSetIterator disi)
Add the content of the provided
DocIdSetIterator . |
protected void |
BitSet.assertUnpositioned(DocIdSetIterator iter)
Assert that the current doc is -1.
|
private static <T extends BitSet> |
BitSetIterator.getBitSet(DocIdSetIterator iterator,
java.lang.Class<? extends T> clazz) |
static FixedBitSet |
BitSetIterator.getFixedBitSetOrNull(DocIdSetIterator iterator)
If the provided iterator wraps a
FixedBitSet , returns it, otherwise returns null. |
static SparseFixedBitSet |
BitSetIterator.getSparseFixedBitSetOrNull(DocIdSetIterator iterator)
If the provided iterator wraps a
SparseFixedBitSet , returns it, otherwise returns null. |
static BitSet |
BitSet.of(DocIdSetIterator it,
int maxDoc)
Build a
BitSet from the content of the provided DocIdSetIterator . |
void |
BitSet.or(DocIdSetIterator iter)
Does in-place OR of the bits provided by the iterator.
|
void |
FixedBitSet.or(DocIdSetIterator iter) |
void |
SparseFixedBitSet.or(DocIdSetIterator it) |
private void |
SparseFixedBitSet.orDense(DocIdSetIterator it)
SparseFixedBitSet.or(DocIdSetIterator) impl that works best when it is dense |
void |
FixedBitSet.xor(DocIdSetIterator iter)
Does in-place XOR of the bits provided by the iterator.
|