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 classBase class for filteringTermsimplementations.final classExposes flex API, merged from flex API of sub-segments.Fields in org.apache.lucene.index declared as TermsModifier and TypeFieldDescriptionstatic final Terms[]Terms.EMPTY_ARRAYZero-length array ofTerms.protected final TermsFilterAtomicReader.FilterTerms.inThe underlying Terms instance.Methods in org.apache.lucene.index that return TermsModifier and TypeMethodDescriptionstatic TermsMultiFields.getTerms(IndexReader r, String field) This method may return null if the field does not exist.final TermsIndexReader.getTermVector(int docID, String field) Retrieve term vector for this document and field, or null if term vectors were not indexed.final TermsThis may return null if the field does not exist.abstract TermsGet theTermsfor 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 TermsEnumAutomatonQuery.getTermsEnum(Terms terms, AttributeSource atts) protected TermsEnumFuzzyQuery.getTermsEnum(Terms terms, AttributeSource atts) protected final TermsEnumMultiTermQuery.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 TermsEnumMultiTermQuery.getTermsEnum(Terms terms, AttributeSource atts) Construct the enumeration to be used, expanding the pattern term.protected TermsEnumMultiTermQuery.RewriteMethod.getTermsEnum(MultiTermQuery query, Terms terms, AttributeSource atts) Returns theMultiTermQuerysTermsEnumprotected TermsEnumNumericRangeQuery.getTermsEnum(Terms terms, AttributeSource atts) protected TermsEnumPrefixQuery.getTermsEnum(Terms terms, AttributeSource atts) protected TermsEnumTermRangeQuery.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 specifiedreaderwhich share a prefix of lengthprefixLengthwithtermand 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