Class FTSpellCheckParams

java.lang.Object
redis.clients.jedis.search.FTSpellCheckParams
All Implemented Interfaces:
IParams

public class FTSpellCheckParams extends Object implements IParams
  • Field Details

  • Constructor Details

    • FTSpellCheckParams

      public FTSpellCheckParams()
  • Method Details

    • spellCheckParams

      public static FTSpellCheckParams spellCheckParams()
    • includeTerm

      public FTSpellCheckParams includeTerm(String dictionary)
      Specifies an inclusion (INCLUDE) of a custom dictionary.
    • excludeTerm

      public FTSpellCheckParams excludeTerm(String dictionary)
      Specifies an exclusion (EXCLUDE) of a custom dictionary.
    • addTerm

      private FTSpellCheckParams addTerm(String dictionary, Rawable type)
      Specifies an inclusion (INCLUDE) or exclusion (EXCLUDE) of a custom dictionary.
    • distance

      public FTSpellCheckParams distance(int distance)
      Maximum Levenshtein distance for spelling suggestions (default: 1, max: 4).
    • dialect

      public FTSpellCheckParams dialect(int dialect)
      Selects the dialect version under which to execute the query.
    • addParams

      public void addParams(CommandArguments args)
      Specified by:
      addParams in interface IParams