Class SuggestBuilder

  • All Implemented Interfaces:
    ToXContent


    public class SuggestBuilder
    extends Object
    implements ToXContent
    Defines how to perform suggesting. This builders allows a number of global options to be specified and an arbitrary number of TermSuggestionBuilder instances.

    Suggesting works by suggesting terms that appear in the suggest text that are similar compared to the terms in provided text. These spelling suggestions are based on several options described in this class.