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.index |
Code to maintain and access indices.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util.automaton |
Finite-state automaton for regular expressions.
|
Modifier and Type | Method and Description |
---|---|
BlockTermState |
PushPostingsWriterBase.writeTerm(BytesRef term,
TermsEnum termsEnum,
FixedBitSet docsSeen,
NormsProducer norms) |
abstract BlockTermState |
PostingsWriterBase.writeTerm(BytesRef term,
TermsEnum termsEnum,
FixedBitSet docsSeen,
NormsProducer norms)
Write all postings for one term; use the provided
TermsEnum to pull a PostingsEnum . |
Modifier and Type | Method and Description |
---|---|
TermsEnum |
FieldReader.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
TermsEnum |
FieldReader.iterator() |
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
|
class |
SingleTermsEnum
Subclass of FilteredTermsEnum for enumerating a single term.
|
Modifier and Type | Field and Description |
---|---|
static TermsEnum |
TermsEnum.EMPTY
An empty TermsEnum for quickly returning an empty instance e.g.
|
protected TermsEnum |
FilterLeafReader.FilterTermsEnum.in
The underlying TermsEnum instance.
|
protected TermsEnum |
FilteredTermsEnum.tenum
The delegate
TermsEnum . |
Modifier and Type | Method and Description |
---|---|
TermsEnum |
FilterSortedDocValues.intersect(CompiledAutomaton automaton) |
TermsEnum |
SortedSetDocValues.intersect(CompiledAutomaton automaton)
|
TermsEnum |
FilterSortedSetDocValues.intersect(CompiledAutomaton automaton) |
TermsEnum |
SortedDocValues.intersect(CompiledAutomaton automaton)
|
TermsEnum |
Terms.intersect(CompiledAutomaton compiled,
BytesRef startTerm)
Returns a TermsEnum that iterates over all terms and
documents that are accepted by the provided
CompiledAutomaton . |
TermsEnum |
MultiTerms.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
TermsEnum |
ExitableDirectoryReader.ExitableTerms.intersect(CompiledAutomaton compiled,
BytesRef startTerm) |
abstract TermsEnum |
Terms.iterator()
Returns an iterator that will step through all
terms.
|
TermsEnum |
MultiTerms.iterator() |
TermsEnum |
ExitableDirectoryReader.ExitableTerms.iterator() |
TermsEnum |
FilterLeafReader.FilterTerms.iterator() |
TermsEnum |
MultiTermsEnum.reset(org.apache.lucene.index.MultiTermsEnum.TermsEnumIndex[] termsEnumsIndex)
The terms array must be newly created TermsEnum, ie
BytesRefIterator.next() has not yet been called. |
TermsEnum |
FilterSortedDocValues.termsEnum() |
TermsEnum |
SortedSetDocValues.termsEnum()
Returns a
TermsEnum over the values. |
TermsEnum |
FilterSortedSetDocValues.termsEnum() |
TermsEnum |
SortedDocValues.termsEnum()
Returns a
TermsEnum over the values. |
Modifier and Type | Method and Description |
---|---|
static OrdinalMap |
OrdinalMap.build(IndexReader.CacheKey owner,
TermsEnum[] subs,
long[] weights,
float acceptableOverheadRatio)
Creates an ordinal map that allows mapping ords to/from a merged
space from
subs . |
Constructor and Description |
---|
AutomatonTermsEnum(TermsEnum tenum,
CompiledAutomaton compiled)
Construct an enumerator based upon an automaton, enumerating the specified
field, working on a supplied TermsEnum
|
ExitableTermsEnum(TermsEnum termsEnum,
QueryTimeout queryTimeout)
Constructor
|
FilteredTermsEnum(TermsEnum tenum)
Creates a filtered
TermsEnum on a terms enum. |
FilteredTermsEnum(TermsEnum tenum,
boolean startWithSeek)
Creates a filtered
TermsEnum on a terms enum. |
FilterTermsEnum(TermsEnum in)
Creates a new FilterTermsEnum
|
SingleTermsEnum(TermsEnum tenum,
BytesRef termText)
Creates a new
SingleTermsEnum . |
Modifier and Type | Class and Description |
---|---|
class |
FuzzyTermsEnum
Subclass of TermsEnum for enumerating all terms that are similar
to the specified filter term.
|
Modifier and Type | Method and Description |
---|---|
protected TermsEnum |
MultiTermQuery.RewriteMethod.getTermsEnum(MultiTermQuery query,
Terms terms,
AttributeSource atts)
Returns the
MultiTermQuery s TermsEnum |
TermsEnum |
MultiTermQuery.getTermsEnum(Terms terms)
Constructs an enumeration that expands the pattern term.
|
protected TermsEnum |
AutomatonQuery.getTermsEnum(Terms terms,
AttributeSource atts) |
protected abstract TermsEnum |
MultiTermQuery.getTermsEnum(Terms terms,
AttributeSource atts)
Construct the enumeration to be used, expanding the
pattern term.
|
protected TermsEnum |
FuzzyQuery.getTermsEnum(Terms terms,
AttributeSource atts) |
Modifier and Type | Method and Description |
---|---|
TermsEnum |
CompiledAutomaton.getTermsEnum(Terms terms)
|
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.