Uses of Class
org.apache.lucene.index.TermsEnum
-
Packages that use TermsEnum Package Description org.apache.lucene.codecs Codecs API: API for customization of the encoding and structure of the index.org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search Code to search indices.org.apache.lucene.util Some utility classes.org.apache.lucene.util.automaton Finite-state automaton for regular expressions. -
-
Uses of TermsEnum in org.apache.lucene.codecs
Methods in org.apache.lucene.codecs that return TermsEnum Modifier and Type Method Description TermsEnumBlockTreeTermsReader.FieldReader. intersect(CompiledAutomaton compiled, BytesRef startTerm)TermsEnumBlockTreeTermsReader.FieldReader. iterator(TermsEnum reuse)Methods in org.apache.lucene.codecs with parameters of type TermsEnum Modifier and Type Method Description TermsEnumBlockTreeTermsReader.FieldReader. iterator(TermsEnum reuse)voidTermsConsumer. merge(MergeState mergeState, FieldInfo.IndexOptions indexOptions, TermsEnum termsEnum)Default merge impl -
Uses of TermsEnum in org.apache.lucene.index
Subclasses of TermsEnum in org.apache.lucene.index Modifier and Type Class Description static classFilterAtomicReader.FilterTermsEnumBase class for filteringTermsEnumimplementations.classFilteredTermsEnumAbstract class for enumerating a subset of all terms.classMultiTermsEnumclassSingleTermsEnumSubclass of FilteredTermsEnum for enumerating a single term.Fields in org.apache.lucene.index declared as TermsEnum Modifier and Type Field Description static TermsEnumTermsEnum. EMPTYAn empty TermsEnum for quickly returning an empty instance e.g.protected TermsEnumFilterAtomicReader.FilterTermsEnum. inThe underlying TermsEnum instance.Methods in org.apache.lucene.index that return TermsEnum Modifier and Type Method Description TermsEnumDocTermOrds. getOrdTermsEnum(AtomicReader reader)Returns a TermsEnum that implements ord.TermsEnumMultiTerms. intersect(CompiledAutomaton compiled, BytesRef startTerm)TermsEnumTerms. intersect(CompiledAutomaton compiled, BytesRef startTerm)Returns a TermsEnum that iterates over all terms that are accepted by the providedCompiledAutomaton.TermsEnumFilterAtomicReader.FilterTerms. iterator(TermsEnum reuse)TermsEnumMultiTerms. iterator(TermsEnum reuse)abstract TermsEnumTerms. iterator(TermsEnum reuse)Returns an iterator that will step through all terms.TermsEnumMultiTermsEnum. reset(org.apache.lucene.index.MultiTermsEnum.TermsEnumIndex[] termsEnumsIndex)The terms array must be newly created TermsEnum, ieBytesRefIterator.next()has not yet been called.TermsEnumSortedDocValues. termsEnum()Returns aTermsEnumover the values.TermsEnumSortedSetDocValues. termsEnum()Returns aTermsEnumover the values.Methods in org.apache.lucene.index with parameters of type TermsEnum Modifier and Type Method Description TermsEnumFilterAtomicReader.FilterTerms. iterator(TermsEnum reuse)TermsEnumMultiTerms. iterator(TermsEnum reuse)abstract TermsEnumTerms. iterator(TermsEnum reuse)Returns an iterator that will step through all terms.BytesRefDocTermOrds. lookupTerm(TermsEnum termsEnum, int ord)Returns the term (BytesRef) corresponding to the provided ordinal.protected voidDocTermOrds. visitTerm(TermsEnum te, int termNum)Subclass can override thisConstructors in org.apache.lucene.index with parameters of type TermsEnum Constructor Description FilteredTermsEnum(TermsEnum tenum)Creates a filteredTermsEnumon a terms enum.FilteredTermsEnum(TermsEnum tenum, boolean startWithSeek)Creates a filteredTermsEnumon a terms enum.FilterTermsEnum(TermsEnum in)Creates a new FilterTermsEnumOrdinalMap(Object owner, TermsEnum[] subs)Creates an ordinal map that allows mapping ords to/from a merged space fromsubs.SingleTermsEnum(TermsEnum tenum, BytesRef termText)Creates a newSingleTermsEnum. -
Uses of TermsEnum in org.apache.lucene.search
Subclasses of TermsEnum in org.apache.lucene.search Modifier and Type Class Description classFuzzyTermsEnumSubclass of TermsEnum for enumerating all terms that are similar to the specified filter term.classPrefixTermsEnumSubclass of FilteredTermEnum for enumerating all terms that match the specified prefix filter term.classTermRangeTermsEnumSubclass of FilteredTermEnum for enumerating all terms that match the specified range parameters.Methods in org.apache.lucene.search that return TermsEnum Modifier and Type Method Description protected TermsEnumFuzzyTermsEnum. getAutomatonEnum(int editDistance, BytesRef lastTerm)return an automata-based enum for matching up to editDistance from lastTerm, if possibleprotected TermsEnumAutomatonQuery. getTermsEnum(Terms terms, AttributeSource atts)protected TermsEnumFuzzyQuery. getTermsEnum(Terms terms, AttributeSource atts)protected 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)TermsEnumFieldCache.Parser. termsEnum(Terms terms)Methods in org.apache.lucene.search with parameters of type TermsEnum Modifier and Type Method Description protected voidFuzzyTermsEnum. setEnum(TermsEnum actualEnum)swap in a new actual enum to proxy toConstructors in org.apache.lucene.search with parameters of type TermsEnum Constructor Description PrefixTermsEnum(TermsEnum tenum, BytesRef prefixText)TermRangeTermsEnum(TermsEnum tenum, BytesRef lowerTerm, BytesRef upperTerm, boolean includeLower, boolean includeUpper)Enumerates all terms greater/equal thanlowerTermbut less/equal thanupperTerm. -
Uses of TermsEnum in org.apache.lucene.util
Methods in org.apache.lucene.util that return TermsEnum Modifier and Type Method Description static TermsEnumNumericUtils. filterPrefixCodedInts(TermsEnum termsEnum)Filters the givenTermsEnumby accepting only prefix coded 32 bit terms with a shift value of 0.static TermsEnumNumericUtils. filterPrefixCodedLongs(TermsEnum termsEnum)Filters the givenTermsEnumby accepting only prefix coded 64 bit terms with a shift value of 0.Methods in org.apache.lucene.util with parameters of type TermsEnum Modifier and Type Method Description static TermsEnumNumericUtils. filterPrefixCodedInts(TermsEnum termsEnum)Filters the givenTermsEnumby accepting only prefix coded 32 bit terms with a shift value of 0.static TermsEnumNumericUtils. filterPrefixCodedLongs(TermsEnum termsEnum)Filters the givenTermsEnumby accepting only prefix coded 64 bit terms with a shift value of 0. -
Uses of TermsEnum in org.apache.lucene.util.automaton
Methods in org.apache.lucene.util.automaton that return TermsEnum Modifier and Type Method Description TermsEnumCompiledAutomaton. getTermsEnum(Terms terms)
-