Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.blockterms |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.blocktree |
BlockTree terms dictionary.
|
org.apache.lucene.codecs.blocktreeords |
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
|
org.apache.lucene.codecs.bloom |
Codec PostingsFormat for fast access to low-frequency terms
such as primary key fields.
|
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 |
Components from the Lucene 8.0 index format
See
org.apache.lucene.codecs.lucene84 for an overview
of the index format. |
org.apache.lucene.codecs.memory |
Term dictionary, DocValues or Postings formats that are read
entirely into memory.
|
org.apache.lucene.codecs.simpletext |
Simpletext Codec: writes human readable postings.
|
org.apache.lucene.codecs.uniformsplit |
Pluggable term index / block terms dictionary implementations.
|
org.apache.lucene.codecs.uniformsplit.sharedterms |
Pluggable term index / block terms dictionary implementations.
|
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.monitor |
Monitoring framework
|
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.spell |
Suggest alternate spellings for words.
|
org.apache.lucene.search.suggest |
Support for Autocomplete/Autosuggest
|
org.apache.lucene.search.suggest.fst |
Finite-state based autosuggest.
|
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 |
---|---|
private class |
BlockTermsReader.FieldReader.SegmentTermsEnum |
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 |
---|---|
(package private) class |
OrdsIntersectTermsEnum |
class |
OrdsSegmentTermsEnum
Iterates through terms in this field.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BloomFilteringPostingsFormat.BloomFilteredFieldsProducer.BloomFilteredTermsEnum |
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 |
---|---|
private class |
DirectPostingsFormat.DirectField.DirectIntersectTermsEnum |
private class |
DirectPostingsFormat.DirectField.DirectTermsEnum |
(package private) class |
FSTOrdTermsReader.TermsReader.BaseTermsEnum |
private class |
FSTOrdTermsReader.TermsReader.IntersectTermsEnum |
private class |
FSTOrdTermsReader.TermsReader.SegmentTermsEnum |
(package private) class |
FSTTermsReader.TermsReader.BaseTermsEnum |
private class |
FSTTermsReader.TermsReader.IntersectTermsEnum |
private class |
FSTTermsReader.TermsReader.SegmentTermsEnum |
Modifier and Type | Class and Description |
---|---|
private class |
SimpleTextFieldsReader.SimpleTextTermsEnum |
private static class |
SimpleTextTermVectorsReader.SimpleTVTermsEnum |
Modifier and Type | Class and Description |
---|---|
class |
BlockReader
Seeks the block corresponding to a given term, read the block bytes, and
scans the block terms.
|
class |
IntersectBlockReader
The "intersect"
TermsEnum response to UniformSplitTerms.intersect(CompiledAutomaton, BytesRef) ,
intersecting the terms with an automaton. |
Modifier and Type | Class and Description |
---|---|
class |
STBlockReader
Reads terms blocks with the Shared Terms format.
|
class |
STIntersectBlockReader
The "intersect"
TermsEnum response to
STUniformSplitTerms.intersect(CompiledAutomaton, BytesRef) ,
intersecting the terms with an automaton. |
class |
STMergingBlockReader
|
class |
STMergingTermsEnum
Combines
PostingsEnum for the same term for a given field from
multiple segments. |
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 |
---|---|
protected class |
TermFilteredPresearcher.BytesRefHashIterator
Implements a
BytesRefIterator over a BytesRefHash |
Modifier and Type | Field and Description |
---|---|
private BytesRefIterator |
TermsEnumTokenStream.termsEnum |
Constructor and Description |
---|
TermsEnumTokenStream(BytesRefIterator termsEnum)
Create a new TermsEnumTokenStream using a TermsEnum
|
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 | Field and Description |
---|---|
private BytesRefIterator |
DisjunctionMatchesIterator.TermsEnumDisjunctionMatchesIterator.terms |
Modifier and Type | Method and Description |
---|---|
private static BytesRefIterator |
DisjunctionMatchesIterator.asBytesRefIterator(java.util.List<Term> terms) |
Modifier and Type | Method and Description |
---|---|
static MatchesIterator |
MatchesUtils.disjunction(LeafReaderContext context,
int doc,
Query query,
java.lang.String field,
BytesRefIterator terms)
Create a MatchesIterator that is a disjunction over a list of terms extracted from a
BytesRefIterator . |
(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 |
Constructor and Description |
---|
TermsEnumDisjunctionMatchesIterator(MatchesIterator first,
BytesRefIterator terms,
TermsEnum te,
int doc,
Query query) |
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 |
---|---|
(package private) class |
HighFrequencyDictionary.HighFrequencyIterator |
(package private) class |
PlainTextDictionary.FileIterator |
Modifier and Type | Interface and Description |
---|---|
interface |
InputIterator
Interface for enumerating term,weight,payload triples for suggester consumption;
currently only
AnalyzingSuggester , FuzzySuggester and AnalyzingInfixSuggester support payloads. |
Modifier and Type | Class and Description |
---|---|
class |
BufferedInputIterator
This wrapper buffers incoming elements.
|
protected class |
DocumentDictionary.DocumentInputIterator
Implements
InputIterator from stored fields. |
(package private) class |
DocumentValueSourceDictionary.DocumentValueSourceInputIterator |
(package private) class |
FileDictionary.FileIterator |
static class |
InputIterator.InputIteratorWrapper
Wraps a BytesRefIterator as a suggester InputIterator, with all weights
set to
1 and carries no payload |
class |
SortedInputIterator
This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.
|
class |
UnsortedInputIterator
This wrapper buffers the incoming elements and makes sure they are in
random order.
|
Modifier and Type | Field and Description |
---|---|
private BytesRefIterator |
InputIterator.InputIteratorWrapper.wrapped |
Modifier and Type | Method and Description |
---|---|
BytesRefIterator |
InMemorySorter.iterator() |
Constructor and Description |
---|
InputIteratorWrapper(BytesRefIterator wrapped)
Creates a new wrapper, wrapping the specified iterator and
specifying a weight value of
1 for all terms
and nullifies associated payloads. |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ExternalRefSorter.ByteSequenceIterator
Iterate over byte refs in a file.
|
private static class |
WFSTCompletionLookup.WFSTInputIterator |
Modifier and Type | Method and Description |
---|---|
BytesRefIterator |
ExternalRefSorter.iterator() |
BytesRefIterator |
BytesRefSorter.iterator()
Sorts the entries added in
BytesRefSorter.add(BytesRef) and returns
an iterator over all sorted entries. |
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 |
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. |
BytesRefIterator |
FixedLengthBytesRefArray.iterator(java.util.Comparator<BytesRef> comp)
Returns a
BytesRefIterator with point in time semantics. |