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,FuzzySuggesterandAnalyzingInfixSuggestersupport payloads. -
Class Summary Class Description BitsProducer A producer ofBitsper 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 AnBytesRefSorterthat keeps all the entries in memory.InputIterator.InputIteratorWrapper Wraps a BytesRefIterator as a suggester InputIterator, with all weights set to1and carries no payloadLookup Simple Lookup interface forCharSequencesuggestions.Lookup.LookupPriorityQueue APriorityQueuecollecting a fixed size of high priorityLookup.LookupResultLookup.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.