org.apache.lucene.search.suggest (Lucene 10.5.1 suggest API)
Description: declaration: package: org.apache.lucene.search.suggest

# Package org.apache.lucene.search.suggest

package org.apache.lucene.search.suggest
Support for Autocomplete/Autosuggest

- Related Packages
  Package
  Description
  org.apache.lucene.search.suggest.analyzing
  Analyzer based autosuggest.
  org.apache.lucene.search.suggest.document
  Support for document suggestion
  org.apache.lucene.search.suggest.fst
  Finite-state based autosuggest.
  org.apache.lucene.search.suggest.tst
  Ternary Search Tree based autosuggest.
- Class
  Description
  BitsProducer
  A producer of `Bits` 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
  An `BytesRefSorter` that keeps all the entries in memory.
  InputIterator
  Interface for enumerating term,weight,payload triples for suggester consumption; currently only `AnalyzingSuggester`, `FuzzySuggester` and `AnalyzingInfixSuggester` support payloads.
  InputIterator.InputIteratorWrapper
  Wraps a BytesRefIterator as a suggester InputIterator, with all weights set to `1` and carries no payload
  Lookup
  Simple Lookup interface for `CharSequence` suggestions.
  Lookup.LookupPriorityQueue
  A `PriorityQueue` collecting a fixed size of high priority `Lookup.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.