Package org.apache.lucene.search.spell
Interface TermFreqIterator
- All Superinterfaces:
BytesRefIterator
- All Known Implementing Classes:
BufferingTermFreqIteratorWrapper,SortedTermFreqIteratorWrapper,TermFreqIterator.TermFreqIteratorWrapper
Interface for enumerating term,weight pairs.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classWraps a BytesRefIterator as a TermFreqIterator, with all weights set to1 -
Field Summary
Fields inherited from interface org.apache.lucene.util.BytesRefIterator
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionlongweight()A term's weight, higher numbers mean better suggestions.Methods inherited from interface org.apache.lucene.util.BytesRefIterator
getComparator, next
-
Method Details
-
weight
long weight()A term's weight, higher numbers mean better suggestions.
-