Uses of Class
org.apache.lucene.index.Terms
Packages that use 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
Subclasses of Terms in org.apache.lucene.codecs.lucene90.blocktreeMethods in org.apache.lucene.codecs.lucene90.blocktree that return Terms -
Uses of Terms in org.apache.lucene.index
Subclasses of Terms in org.apache.lucene.indexModifier 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.Fields in org.apache.lucene.index declared as TermsModifier and TypeFieldDescriptionstatic final Terms[]
Terms.EMPTY_ARRAY
Zero-length array ofTerms
.protected final Terms
FilterLeafReader.FilterTerms.in
The underlying Terms instance.Methods in org.apache.lucene.index that return TermsModifier and TypeMethodDescriptionfinal Terms
Retrieve term vector for this document and field, or null if term vectors were not indexed.Terms[]
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) Deprecated.final Terms
abstract Terms
Get theTerms
for this field.abstract Terms
Returns theTerms
index for this field, or null if it has none.Constructors in org.apache.lucene.index with parameters of type TermsModifierConstructorDescriptionExitableTerms
(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
Methods in org.apache.lucene.search with parameters of type TermsModifier 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
protected TermsEnum
TermInSetQuery.getTermsEnum
(Terms terms, AttributeSource atts) Constructors in org.apache.lucene.search with parameters of type TermsModifierConstructorDescriptionFuzzyTermsEnum
(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
Constructors in org.apache.lucene.util with parameters of type TermsModifierConstructorDescriptionDocIdSetBuilder
(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
Methods in org.apache.lucene.util.automaton with parameters of type Terms
IndexReader.termVectors()
to retrieve one or more documents