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.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
DocsAndPositionsEnum
Deprecated.
Use
PostingsEnum instead. |
class |
DocsEnum
Deprecated.
Use
PostingsEnum instead. |
static class |
FilterLeafReader.FilterPostingsEnum
Base class for filtering
PostingsEnum implementations. |
class |
MultiPostingsEnum
Exposes
PostingsEnum , merged from PostingsEnum
API of sub-segments. |
class |
PostingsEnum
Iterates through the postings.
|
Modifier and Type | Class and Description |
---|---|
class |
DisiPriorityQueue<Iter extends DocIdSetIterator>
A priority queue of DocIdSetIterators that orders by current doc ID.
|
class |
DisiWrapper<Iter extends DocIdSetIterator>
Wrapper used in
DisiPriorityQueue . |
class |
DisjunctionDISIApproximation<Iter extends DocIdSetIterator>
A
DocIdSetIterator which is a disjunction of the approximations of
the provided iterators. |
Modifier and Type | Class and Description |
---|---|
class |
ConjunctionDISI
A conjunction of DocIdSetIterators.
|
class |
ConstantScoreScorer
A constant-scoring
Scorer . |
class |
DisjunctionDISIApproximation<Iter extends DocIdSetIterator>
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.
|
class |
FilterScorer
A
FilterScorer contains another Scorer , which it
uses as its basic source of data, possibly transforming the data along the
way or providing additional functionality. |
class |
ScoreCachingWrappingScorer
A
Scorer which wraps another scorer and caches the score of the
current document. |
class |
Scorer
Expert: Common scoring functionality for different types of queries.
|
Modifier and Type | Field and Description |
---|---|
protected DocIdSetIterator |
FilteredDocIdSetIterator._innerIter |
protected DocIdSetIterator |
TwoPhaseIterator.approximation |
DocIdSetIterator |
DisiWrapper.approximation |
Iter |
DisiWrapper.iterator |
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.
|
abstract DocIdSetIterator |
TwoPhaseDocIdSetIterator.approximation()
Return an approximation.
|
static DocIdSetIterator |
TwoPhaseDocIdSetIterator.asDocIdSetIterator(TwoPhaseDocIdSetIterator twoPhaseIterator)
Return a
DocIdSetIterator view of the provided
TwoPhaseDocIdSetIterator . |
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 |
FilteredDocIdSet.iterator()
Deprecated.
Implementation of the contract to build a DocIdSetIterator.
|
DocIdSetIterator |
DocValuesDocIdSet.iterator() |
abstract DocIdSetIterator |
DocIdSet.iterator()
Provides a
DocIdSetIterator to access the set. |
Modifier and Type | Method and Description |
---|---|
static TwoPhaseIterator |
TwoPhaseIterator.asTwoPhaseIterator(DocIdSetIterator iter)
Returns a
TwoPhaseIterator for this DocIdSetIterator
when available, otherwise returns null. |
protected DocIdSet |
LRUFilterCache.cacheImpl(DocIdSetIterator iterator,
LeafReader reader)
Deprecated.
Default cache implementation: uses
RoaringDocIdSet . |
protected DocIdSet |
CachingWrapperQuery.cacheImpl(DocIdSetIterator iterator,
LeafReader reader)
Deprecated.
Default cache implementation: uses
RoaringDocIdSet . |
protected DocIdSet |
CachingWrapperFilter.cacheImpl(DocIdSetIterator iterator,
LeafReader reader)
Deprecated.
Default cache implementation: uses
RoaringDocIdSet . |
Modifier and Type | Method and Description |
---|---|
static ConjunctionDISI |
ConjunctionDISI.intersect(List<? extends DocIdSetIterator> iterators)
Create a conjunction over the provided iterators, taking advantage of
TwoPhaseIterator . |
Constructor and Description |
---|
ConstantScoreScorer(Weight weight,
float score,
DocIdSetIterator disi)
Constructor based on a
DocIdSetIterator which will be used to
drive iteration. |
FilteredDocIdSetIterator(DocIdSetIterator innerIter)
Constructor.
|
TwoPhaseIterator(DocIdSetIterator approximation)
Takes the approximation to be returned by
TwoPhaseIterator.approximation . |
Modifier and Type | Class and Description |
---|---|
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. |
class |
ScoringWrapperSpans
A Spans that wraps another Spans with a different SimScorer
|
class |
Spans
Iterates through combinations of start/end positions per-doc.
|
class |
TermSpans
Expert:
Public for extension only.
|
Modifier and Type | Class and Description |
---|---|
class |
BitSetIterator
A
DocIdSetIterator which iterates over set bits in a
bit set. |
Modifier and Type | Method and Description |
---|---|
DocIdSetIterator |
RoaringDocIdSet.iterator() |
DocIdSetIterator |
NotDocIdSet.iterator() |
DocIdSetIterator |
BitDocIdSet.iterator() |
Modifier and Type | Method and Description |
---|---|
RoaringDocIdSet.Builder |
RoaringDocIdSet.Builder.add(DocIdSetIterator disi)
Add the content of the provided
DocIdSetIterator . |
void |
DocIdSetBuilder.add(DocIdSetIterator iter)
Add the content of the provided
DocIdSetIterator to this builder. |
void |
SparseFixedBitSet.and(DocIdSetIterator it) |
void |
FixedBitSet.and(DocIdSetIterator iter) |
void |
BitSet.and(DocIdSetIterator iter)
Deprecated.
|
void |
BitDocIdSet.Builder.and(DocIdSetIterator it)
Deprecated.
|
void |
FixedBitSet.andNot(DocIdSetIterator iter) |
void |
BitSet.andNot(DocIdSetIterator iter)
Deprecated.
|
void |
BitDocIdSet.Builder.andNot(DocIdSetIterator it)
Deprecated.
|
protected void |
BitSet.assertUnpositioned(DocIdSetIterator iter)
Assert that the current doc is -1.
|
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 |
SparseFixedBitSet.or(DocIdSetIterator it) |
void |
FixedBitSet.or(DocIdSetIterator iter) |
void |
BitSet.or(DocIdSetIterator iter)
Does in-place OR of the bits provided by the iterator.
|
void |
BitDocIdSet.Builder.or(DocIdSetIterator it)
Add the content of the provided
DocIdSetIterator to this builder. |
void |
FixedBitSet.xor(DocIdSetIterator iter)
Does in-place XOR of the bits provided by the iterator.
|
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.