Package org.apache.lucene.search.suggest
package org.apache.lucene.search.suggest
Support for Autocomplete/Autosuggest
-
ClassDescriptionA producer of
Bits
per segment.This wrapper buffers incoming elements.Dictionary with terms, weights, payload (optional) and contexts (optional) information taken from stored/indexed fields in a Lucene index.Dictionary with terms and optionally payload and optionally contexts information taken from stored fields in a Lucene index.Dictionary represented by a text file.AnBytesRefSorter
that keeps all the entries in memory.Interface for enumerating term,weight,payload triples for suggester consumption; currently onlyAnalyzingSuggester
,FuzzySuggester
andAnalyzingInfixSuggester
support payloads.Wraps a BytesRefIterator as a suggester InputIterator, with all weights set to1
and carries no payloadSimple Lookup interface forCharSequence
suggestions.APriorityQueue
collecting a fixed size of high priorityLookup.LookupResult
Result of a lookup.This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.This wrapper buffers the incoming elements and makes sure they are in random order.