Class SpellCheckArgs

    • Constructor Detail

      • SpellCheckArgs

        public SpellCheckArgs()
    • Method Detail

      • distance

        public SpellCheckArgs distance​(int distance)
        Sets the maximum Levenshtein distance for spelling suggestions (default: 1, max: 4).
        Parameters:
        distance - the distance
        Returns:
        the current SpellCheckArgs
      • includes

        public SpellCheckArgs includes​(String... dict)
        Specifies an inclusion of a custom dictionary named dict
        Parameters:
        dict - the dictionaries
        Returns:
        the current SpellCheckArgs
      • excludes

        public SpellCheckArgs excludes​(String... dict)
        Specifies an exclusion of a custom dictionary named dict
        Parameters:
        dict - the dictionaries
        Returns:
        the current SpellCheckArgs
      • dialect

        public SpellCheckArgs dialect​(int dialect)
        Selects the dialect version under which to execute the query. If not specified, the query will execute under the default dialect version set during module initial loading.
        Parameters:
        dialect - the dialect
        Returns:
        the current SpellCheckArgs