Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
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.lucene70 |
Components from the Lucene 7.0 index format.
|
org.apache.lucene.codecs.lucene80 |
Lucene 8.0 file 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.search |
Code to search indices.
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.search.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
DocValuesConsumer.BitsFilteredTermsEnum |
Modifier and Type | Class and Description |
---|---|
(package private) class |
IntersectTermsEnum
This is used to implement efficient
Terms.intersect(org.apache.lucene.util.automaton.CompiledAutomaton, org.apache.lucene.util.BytesRef) for
block-tree. |
(package private) class |
SegmentTermsEnum
Iterates through terms in this field.
|
Modifier and Type | Class and Description |
---|---|
private static class |
CompressingTermVectorsReader.TVTermsEnum |
Modifier and Type | Class and Description |
---|---|
class |
IDVersionSegmentTermsEnum
Iterates through terms in this field; this class is public so users
can cast it to call
IDVersionSegmentTermsEnum.seekExact(BytesRef, long) for
optimistic-concurrency, and also IDVersionSegmentTermsEnum.getVersion() to get the
version of the currently seek'd term. |
Modifier and Type | Class and Description |
---|---|
private static class |
Lucene70DocValuesProducer.TermsDict |
Modifier and Type | Class and Description |
---|---|
private static class |
Lucene80DocValuesProducer.TermsDict |
Modifier and Type | Class and Description |
---|---|
class |
AutomatonTermsEnum
A FilteredTermsEnum that enumerates terms based upon what is accepted by a
DFA.
|
class |
BaseTermsEnum
A base TermsEnum that adds default implementations for
BaseTermsEnum.attributes()
BaseTermsEnum.termState()
BaseTermsEnum.seekExact(BytesRef)
BaseTermsEnum.seekExact(BytesRef, TermState)
In some cases, the default implementation may be slow and consume huge memory, so subclass SHOULD have its own
implementation if possible. |
static class |
ExitableDirectoryReader.ExitableTermsEnum
Wrapper class for TermsEnum that is used by ExitableTerms for implementing an
exitable enumeration of terms.
|
(package private) class |
FieldTermIterator
Iterates over terms in across multiple fields.
|
class |
FilteredTermsEnum
Abstract class for enumerating a subset of all terms.
|
static class |
FilterLeafReader.FilterTermsEnum
Base class for filtering
TermsEnum implementations. |
private static class |
FreqProxFields.FreqProxTermsEnum |
private static class |
MappedMultiFields.MappedMultiTermsEnum |
class |
MultiTermsEnum
|
static class |
PrefixCodedTerms.TermIterator
An iterator over the list of terms stored in a
PrefixCodedTerms . |
class |
SingleTermsEnum
Subclass of FilteredTermsEnum for enumerating a single term.
|
(package private) class |
SortedDocValuesTermsEnum
Implements a
TermsEnum wrapping a provided
SortedDocValues . |
(package private) class |
SortedSetDocValuesTermsEnum
Implements a
TermsEnum wrapping a provided
SortedSetDocValues . |
private static class |
SortingLeafReader.SortingTermsEnum |
class |
TermsEnum
Iterator to seek (
TermsEnum.seekCeil(BytesRef) , TermsEnum.seekExact(BytesRef) ) or step through (next() terms to obtain frequency information (TermsEnum.docFreq() ), PostingsEnum or PostingsEnum for the current term (TermsEnum.postings(org.apache.lucene.index.PostingsEnum) . |
Modifier and Type | Field and Description |
---|---|
private BytesRefIterator |
FieldUpdatesBuffer.BufferedUpdateIterator.byteValuesIterator |
private BytesRefIterator |
FieldUpdatesBuffer.BufferedUpdateIterator.termValuesIterator |
Modifier and Type | Class and Description |
---|---|
private class |
MemoryIndex.MemoryIndexReader.MemoryTermsEnum |
Modifier and Type | Class and Description |
---|---|
class |
FuzzyTermsEnum
Subclass of TermsEnum for enumerating all terms that are similar
to the specified filter term.
|
static class |
PointInSetQuery.Stream
Iterator of encoded point values.
|
Modifier and Type | Method and Description |
---|---|
private static BytesRefIterator |
DisjunctionMatchesIterator.asBytesRefIterator(java.util.List<Term> terms) |
Modifier and Type | Method and Description |
---|---|
(package private) static MatchesIterator |
DisjunctionMatchesIterator.fromTermsEnum(LeafReaderContext context,
int doc,
Query query,
java.lang.String field,
BytesRefIterator terms)
Create a
DisjunctionMatchesIterator over a list of terms extracted from a BytesRefIterator
Only terms that have at least one match in the given document will be included |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
PointInSetIncludingScoreQuery.Stream |
class |
SeekingTermSetTermsEnum
A filtered TermsEnum that uses a BytesRefHash as a filter
|
Modifier and Type | Class and Description |
---|---|
private static class |
TermVectorFilteredLeafReader.TermVectorFilteredTermsEnum |
Modifier and Type | Class and Description |
---|---|
static class |
OfflineSorter.ByteSequencesReader
Utility class to read length-prefixed byte[] entries from an input.
|
Modifier and Type | Field and Description |
---|---|
static BytesRefIterator |
BytesRefIterator.EMPTY
Singleton BytesRefIterator that iterates over 0 BytesRefs.
|
Modifier and Type | Method and Description |
---|---|
BytesRefIterator |
BytesRefArray.iterator()
sugar for
BytesRefArray.iterator(Comparator) with a null comparator |
BytesRefIterator |
FixedLengthBytesRefArray.iterator(java.util.Comparator<BytesRef> comp)
Returns a
BytesRefIterator with point in time semantics. |
BytesRefIterator |
SortableBytesRefArray.iterator(java.util.Comparator<BytesRef> comp)
Sort all values by the provided comparator and return an iterator over the sorted values
|
BytesRefIterator |
BytesRefArray.iterator(java.util.Comparator<BytesRef> comp)
Returns a
BytesRefIterator with point in time semantics. |