Package org.apache.lucene.search.suggest
package org.apache.lucene.search.suggest
Support for Autocomplete/Autosuggest
-
ClassDescriptionThis wrapper buffers incoming elements.This wrapper buffers incoming elements.A simple append only random-access
BytesRefarray that stores full copies of the appended bytes in aByteBlockPool.Dictionary with terms, weights and optionally payload information taken from stored/indexed fields in a Lucene index.Dictionary with terms and optionally payload information taken from stored fields in a Lucene index.Dictionary represented by a text file.AnBytesRefSorterthat keeps all the entries in memory.Interface for enumerating term,weight,payload triples for suggester consumption; currently onlyAnalyzingSuggester,FuzzySuggesterandAnalyzingInfixSuggestersupport payloads.Wraps a BytesRefIterator as a suggester InputIterator, with all weights set to1and carries no payloadSimple Lookup interface forCharSequencesuggestions.APriorityQueuecollecting a fixed size of high priorityLookup.LookupResultResult of a lookup.On-disk sorting of byte arrays.A bit more descriptive unit for constructors.Utility class to read length-prefixed byte[] entries from an input.Utility class to emit length-prefixed byte[] entries to an output stream for sorting.This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.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.