Uses of Class
org.apache.lucene.index.Terms
Packages that use Terms
Package
Description
Codecs API: API for customization of the encoding and structure of the index.
Code to maintain and access indices.
Code to search indices.
Finite-state automaton for regular expressions.
-
Uses of Terms in org.apache.lucene.codecs
Subclasses of Terms in org.apache.lucene.codecsMethods in org.apache.lucene.codecs that return Terms -
Uses of Terms in org.apache.lucene.index
Subclasses of Terms in org.apache.lucene.indexModifier and TypeClassDescriptionstatic 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
FilterAtomicReader.FilterTerms.in
The underlying Terms instance.Methods in org.apache.lucene.index that return TermsModifier and TypeMethodDescriptionstatic Terms
MultiFields.getTerms
(IndexReader r, String field) This method may return null if the field does not exist.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
This may return null if the field does not exist.abstract Terms
Get theTerms
for this field.Constructors in org.apache.lucene.index with parameters of type TermsModifierConstructorDescriptionFilterTerms
(Terms in) Creates a new FilterTermsMultiTerms
(Terms[] subs, ReaderSlice[] subSlices) Sole constructor. -
Uses of Terms in org.apache.lucene.search
Fields in org.apache.lucene.search declared as TermsMethods 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) protected final TermsEnum
MultiTermQuery.getTermsEnum
(Terms terms) Convenience method, if no attributes are needed: This simply passes empty attributes and is equal to:getTermsEnum(terms, new AttributeSource())
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
NumericRangeQuery.getTermsEnum
(Terms terms, AttributeSource atts) protected TermsEnum
PrefixQuery.getTermsEnum
(Terms terms, AttributeSource atts) protected TermsEnum
TermRangeQuery.getTermsEnum
(Terms terms, AttributeSource atts) Constructors in org.apache.lucene.search with parameters of type TermsModifierConstructorDescriptionFuzzyTermsEnum
(Terms terms, AttributeSource atts, Term term, float minSimilarity, int prefixLength, boolean transpositions) Constructor for enumeration of all terms from specifiedreader
which share a prefix of lengthprefixLength
withterm
and which have a fuzzy similarity >minSimilarity
. -
Uses of Terms in org.apache.lucene.util.automaton
Methods in org.apache.lucene.util.automaton with parameters of type Terms