Uses of Class
org.apache.lucene.index.Terms
Package
Description
BlockTree terms dictionary.
Code to maintain and access indices.
Code to search indices.
Some utility classes.
Finite-state automaton for regular expressions.
-
Uses of Terms in org.apache.lucene.codecs.lucene90.blocktree
-
Uses of Terms in org.apache.lucene.index
Modifier and TypeClassDescriptionstatic class
Wrapper class for another Terms implementation that is used by ExitableFields.static class
Base class for filteringTerms
implementations.final class
Exposes flex API, merged from flex API of sub-segments.Modifier and TypeFieldDescriptionstatic final Terms[]
Terms.EMPTY_ARRAY
Zero-length array ofTerms
.protected final Terms
FilterLeafReader.FilterTerms.in
The underlying Terms instance.Modifier and TypeMethodDescriptionTerms[]
MultiTerms.getSubTerms()
Expert: returns the Terms being merged.static Terms
MultiTerms.getTerms
(IndexReader r, String field) This method may return null if the field does not exist or if it has no terms.static Terms
Terms.getTerms
(LeafReader reader, String field) Returns theTerms
index for this field, orEMPTY
if it has none.final Terms
IndexReader.getTermVector
(int docID, String field) Retrieve term vector for this document and field, or null if term vectors were not indexed.final Terms
abstract Terms
Get theTerms
for this field.abstract Terms
Returns theTerms
index for this field, or null if it has none.ModifierConstructorDescriptionExitableTerms
(Terms terms, QueryTimeout queryTimeout) Constructor *protected
FilterTerms
(Terms in) Creates a new FilterTermsMultiTerms
(Terms[] subs, ReaderSlice[] subSlices) Sole constructor. -
Uses of Terms in org.apache.lucene.search
Modifier and TypeMethodDescriptionprotected TermsEnum
AutomatonQuery.getTermsEnum
(Terms terms, AttributeSource atts) protected TermsEnum
FuzzyQuery.getTermsEnum
(Terms terms, AttributeSource atts) final TermsEnum
MultiTermQuery.getTermsEnum
(Terms terms) Constructs an enumeration that expands the pattern term.protected abstract TermsEnum
MultiTermQuery.getTermsEnum
(Terms terms, AttributeSource atts) Construct the enumeration to be used, expanding the pattern term.protected TermsEnum
MultiTermQuery.RewriteMethod.getTermsEnum
(MultiTermQuery query, Terms terms, AttributeSource atts) Returns theMultiTermQuery
sTermsEnum
ModifierConstructorDescriptionFuzzyTermsEnum
(Terms terms, Term term, int maxEdits, int prefixLength, boolean transpositions) Constructor for enumeration of all terms from specifiedreader
which share a prefix of lengthprefixLength
withterm
and which have at mostmaxEdits
edits. -
Uses of Terms in org.apache.lucene.util
ModifierConstructorDescriptionDocIdSetBuilder
(int maxDoc, Terms terms) Create aDocIdSetBuilder
instance that is optimized for accumulating docs that match the givenTerms
. -
Uses of Terms in org.apache.lucene.util.automaton