| Package | Description |
|---|---|
| org.apache.lucene.index |
Code to maintain and access indices.
|
| org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
| org.apache.lucene.search |
Code to search indices.
|
| org.apache.lucene.search.intervals |
Intervals queries
|
| 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.search.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
| org.apache.lucene.spatial.util |
Various spatial utilities.
|
| org.apache.lucene.util |
Some utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
AssertingLeafReader.AssertingBinaryDocValues
Wraps a BinaryDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingNumericDocValues
Wraps a NumericDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingPostingsEnum
Wraps a docsenum with additional checks
|
static class |
AssertingLeafReader.AssertingSortedDocValues
Wraps a SortedDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingSortedNumericDocValues
Wraps a SortedNumericDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingSortedSetDocValues
Wraps a SortedSetDocValues but with additional asserts
|
class |
BinaryDocValues
A per-document numeric value.
|
class |
FilterBinaryDocValues
Delegates all methods to a wrapped
BinaryDocValues. |
static class |
FilterLeafReader.FilterPostingsEnum
Base class for filtering
PostingsEnum implementations. |
class |
FilterNumericDocValues
Delegates all methods to a wrapped
NumericDocValues. |
class |
LegacyBinaryDocValuesWrapper
Deprecated.
Implement
BinaryDocValues directly. |
class |
LegacyNumericDocValuesWrapper
Deprecated.
Implement
NumericDocValues directly. |
class |
LegacySortedDocValuesWrapper
Deprecated.
Implement
SortedDocValues directly. |
class |
LegacySortedNumericDocValuesWrapper
Deprecated.
Implement
SortedNumericDocValues directly. |
class |
LegacySortedSetDocValuesWrapper
Deprecated.
Implement
SortedSetDocValues directly. |
static class |
MultiDocValues.MultiSortedDocValues
Implements SortedDocValues over n subs, using an OrdinalMap
|
static class |
MultiDocValues.MultiSortedSetDocValues
Implements MultiSortedSetDocValues over n subs, using an OrdinalMap
|
class |
MultiPostingsEnum
Exposes
PostingsEnum, merged from PostingsEnum
API of sub-segments. |
class |
NumericDocValues
A per-document numeric value.
|
class |
PostingsEnum
Iterates through the postings.
|
static class |
RandomPostingsTester.SeedPostings
Given the same random seed this always enumerates the
same random postings
|
class |
SortedDocValues
A per-document byte[] with presorted values.
|
class |
SortedNumericDocValues
A list of per-document numeric values, sorted
according to
Long.compare(long, long). |
class |
SortedSetDocValues
A multi-valued version of
SortedDocValues. |
| Modifier and Type | Method and Description |
|---|---|
DocIdSetIterator |
ValueSourceScorer.iterator() |
DocIdSetIterator |
FunctionQuery.AllScorer.iterator() |
| Modifier and Type | Class and Description |
|---|---|
class |
ConjunctionDISI
A conjunction of DocIdSetIterators.
|
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.
|
| Modifier and Type | Field and Description |
|---|---|
protected DocIdSetIterator |
FilteredDocIdSetIterator._innerIter |
protected DocIdSetIterator |
TwoPhaseIterator.approximation |
DocIdSetIterator |
DisiWrapper.approximation |
DocIdSetIterator |
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.
|
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. |
static DocIdSetIterator |
DocValuesFieldExistsQuery.getDocValuesDocIdSetIterator(java.lang.String field,
LeafReader reader)
Returns a
DocIdSetIterator from the given field or null if the field doesn't exist
in the reader or if the reader has no doc values for the field. |
static DocIdSetIterator |
ConjunctionDISI.intersectIterators(java.util.List<DocIdSetIterator> iterators)
Create a conjunction over the provided DocIdSetIterators.
|
static DocIdSetIterator |
ConjunctionDISI.intersectScorers(java.util.Collection<Scorer> scorers)
Create a conjunction over the provided
Scorers. |
static DocIdSetIterator |
ConjunctionDISI.intersectSpans(java.util.List<Spans> spanList)
Create a conjunction over the provided
Spans. |
DocIdSetIterator |
AssertingScorer.iterator() |
DocIdSetIterator |
BulkScorerWrapperScorer.iterator() |
DocIdSetIterator |
FilterScorer.iterator() |
DocIdSetIterator |
ConstantScoreScorer.iterator() |
abstract DocIdSetIterator |
DocIdSet.iterator()
Provides a
DocIdSetIterator to access the set. |
abstract DocIdSetIterator |
Scorer.iterator()
Return a
DocIdSetIterator over matching documents. |
static DocIdSetIterator |
DocIdSetIterator.range(int minDoc,
int maxDoc)
A
DocIdSetIterator that matches a range documents from
minDocID (inclusive) to maxDocID (exclusive). |
| Modifier and Type | Method and Description |
|---|---|
static TwoPhaseIterator |
TwoPhaseIterator.unwrap(DocIdSetIterator iterator)
If the given
DocIdSetIterator has been created with
TwoPhaseIterator.asDocIdSetIterator(org.apache.lucene.search.TwoPhaseIterator), then this will return the wrapped
TwoPhaseIterator. |
| Modifier and Type | Method and Description |
|---|---|
static DocIdSetIterator |
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. |
FilteredDocIdSetIterator(DocIdSetIterator innerIter)
Constructor.
|
TwoPhaseIterator(DocIdSetIterator approximation)
Takes the approximation to be returned by
TwoPhaseIterator.approximation. |
| Modifier and Type | Class and Description |
|---|---|
class |
IntervalFilter
Wraps an
IntervalIterator and passes through those intervals that match the IntervalFilter.accept() function |
class |
IntervalIterator
A
DocIdSetIterator that also allows iteration over matching
intervals in a document. |
| Modifier and Type | Method and Description |
|---|---|
static NumericDocValues |
BlockJoinSelector.wrap(NumericDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children)
Wraps the provided
NumericDocValues, iterating over only
child documents, in order to only select one value per parent among
its children using the configured selection type. |
static SortedDocValues |
BlockJoinSelector.wrap(SortedDocValues values,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children)
Wraps the provided
SortedDocValues in order to only select
one value per parent among its children using the configured
selection type. |
static NumericDocValues |
BlockJoinSelector.wrap(SortedNumericDocValues sortedNumerics,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children)
Wraps the provided
SortedNumericDocValues in order to only select
one value per parent among its children using the configured
selection type. |
static SortedDocValues |
BlockJoinSelector.wrap(SortedSetDocValues sortedSet,
BlockJoinSelector.Type selection,
BitSet parents,
DocIdSetIterator children)
Wraps the provided
SortedSetDocValues in order to only select
one value per parent among its children using the configured
selection type. |
| 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 |
Spans
Iterates through combinations of start/end positions per-doc.
|
class |
TermSpans
Expert:
Public for extension only.
|
| Modifier and Type | Method and Description |
|---|---|
DocIdSetIterator |
SpanScorer.iterator() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.CharSequence[]> |
UnifiedHighlighter.loadFieldValues(java.lang.String[] fields,
DocIdSetIterator docIter,
int cacheCharsThreshold)
Loads the String values for each docId by field to be highlighted.
|
| Modifier and Type | Method and Description |
|---|---|
TwoPhaseIterator |
ShapeValuesPredicate.iterator(LeafReaderContext ctx,
DocIdSetIterator approximation) |
| 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 |
NotDocIdSet.iterator() |
DocIdSetIterator |
RoaringDocIdSet.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. |
protected void |
BitSet.checkUnpositioned(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 |
BitSet.or(DocIdSetIterator iter)
Does in-place OR of the bits provided by the iterator.
|
void |
FixedBitSet.or(DocIdSetIterator iter) |
void |
FixedBitSet.xor(DocIdSetIterator iter)
Does in-place XOR of the bits provided by the iterator.
|
Copyright © 2000–2025 The Apache Software Foundation. All rights reserved.