Package org.apache.lucene.search.suggest
Support for Autocomplete/Autosuggest
-
Interface Summary Interface Description InputIterator Interface for enumerating term,weight,payload triples for suggester consumption; currently onlyAnalyzingSuggester
,FuzzySuggester
andAnalyzingInfixSuggester
support payloads. -
Class Summary Class Description BufferedInputIterator This wrapper buffers incoming elements.BufferingTermFreqIteratorWrapper This wrapper buffers incoming elements.BytesRefArray A simple append only random-accessBytesRef
array that stores full copies of the appended bytes in aByteBlockPool
.DocumentDictionary Dictionary with terms, weights and optionally payload information taken from stored/indexed fields in a Lucene index.DocumentValueSourceDictionary Dictionary with terms and optionally payload information taken from stored fields in a Lucene index.FileDictionary Dictionary represented by a text file.InMemorySorter AnBytesRefSorter
that keeps all the entries in memory.InputIterator.InputIteratorWrapper Wraps a BytesRefIterator as a suggester InputIterator, with all weights set to1
and carries no payloadLookup Simple Lookup interface forCharSequence
suggestions.Lookup.LookupPriorityQueue APriorityQueue
collecting a fixed size of high priorityLookup.LookupResult
Lookup.LookupResult Result of a lookup.Sort On-disk sorting of byte arrays.Sort.BufferSize A bit more descriptive unit for constructors.Sort.ByteSequencesReader Utility class to read length-prefixed byte[] entries from an input.Sort.ByteSequencesWriter Utility class to emit length-prefixed byte[] entries to an output stream for sorting.SortedInputIterator This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.SortedTermFreqIteratorWrapper This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.UnsortedInputIterator This wrapper buffers the incoming elements and makes sure they are in random order.