Package | Description |
---|---|
org.apache.lucene.codecs.blocktreeords |
Same postings format as Lucene50, except the terms dictionary also
supports ords, i.e.
|
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.index |
Code to maintain and access indices.
|
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.suggest |
Support for Autocomplete/Autosuggest
|
org.apache.lucene.search.suggest.fst |
Finite-state based autosuggest.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
OrdsSegmentTermsEnum
Iterates through terms in this field.
|
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 |
---|---|
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.
|
class |
FilteredTermsEnum
Abstract class for enumerating a subset of all terms.
|
static class |
FilterLeafReader.FilterTermsEnum
Base class for filtering
TermsEnum implementations. |
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.
|
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 | 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 | Class and Description |
---|---|
class |
SeekingTermSetTermsEnum
A filtered TermsEnum that uses a BytesRefHash as a filter
|
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. |
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 | 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 | 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 |
---|---|
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 |
BytesRefArray.iterator(java.util.Comparator<BytesRef> comp)
Returns a
BytesRefIterator with point in time semantics. |
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.