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 BitsProducer A producer ofBits
per segment.BufferedInputIterator This wrapper buffers incoming elements.DocumentDictionary Dictionary with terms, weights, payload (optional) and contexts (optional) information taken from stored/indexed fields in a Lucene index.DocumentValueSourceDictionary Dictionary with terms and optionally payload and optionally contexts 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.SortedInputIterator 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.