Uses of Interface
org.apache.lucene.util.BytesRefIterator
Package
Description
Code to maintain and access indices.
Code to search indices.
Some utility classes.
-
Uses of BytesRefIterator in org.apache.lucene.index
Modifier and TypeClassDescriptionclass
A FilteredTermsEnum that enumerates terms based upon what is accepted by a DFA.class
A base TermsEnum that adds default implementations forBaseTermsEnum.attributes()
BaseTermsEnum.termState()
BaseTermsEnum.seekExact(BytesRef)
BaseTermsEnum.seekExact(BytesRef, TermState)
In some cases, the default implementation may be slow and consume huge memory, so subclass SHOULD have its own implementation if possible.static class
Wrapper class for TermsEnum that is used by ExitableTerms for implementing an exitable enumeration of terms.class
Abstract class for enumerating a subset of all terms.static class
Base class for filteringTermsEnum
implementations.final class
static class
An iterator over the list of terms stored in aPrefixCodedTerms
.final class
Subclass of FilteredTermsEnum for enumerating a single term.class
Iterator to seek (TermsEnum.seekCeil(BytesRef)
,TermsEnum.seekExact(BytesRef)
) or step through (next()
terms to obtain frequency information (TermsEnum.docFreq()
),PostingsEnum
orPostingsEnum
for the current term (TermsEnum.postings(org.apache.lucene.index.PostingsEnum)
. -
Uses of BytesRefIterator in org.apache.lucene.search
Modifier and TypeClassDescriptionfinal class
Subclass of TermsEnum for enumerating all terms that are similar to the specified filter term.static class
Iterator of encoded point values.Modifier and TypeMethodDescriptionstatic MatchesIterator
MatchesUtils.disjunction
(LeafReaderContext context, int doc, Query query, String field, BytesRefIterator terms) Create a MatchesIterator that is a disjunction over a list of terms extracted from aBytesRefIterator
. -
Uses of BytesRefIterator in org.apache.lucene.util
Modifier and TypeInterfaceDescriptionstatic interface
An extension ofBytesRefIterator
that allows retrieving the index of the current elementModifier and TypeClassDescriptionstatic class
Utility class to read length-prefixed byte[] entries from an input.Modifier and TypeFieldDescriptionstatic final BytesRefIterator
BytesRefIterator.EMPTY
Singleton BytesRefIterator that iterates over 0 BytesRefs.Modifier and TypeMethodDescriptionBytesRefArray.iterator()
sugar forBytesRefArray.iterator(Comparator)
with anull
comparatorBytesRefArray.iterator
(Comparator<BytesRef> comp) Returns aBytesRefIterator
with point in time semantics.