Class GetArgs

    • Constructor Detail

      • GetArgs

        public GetArgs()
    • Method Detail

      • fuzzy

        public GetArgs fuzzy()
        Performs a fuzzy prefix search, including prefixes at Levenshtein distance of 1 from the prefix sent.
        Returns:
        the current GetArgs.
      • max

        public GetArgs max​(int max)
        Limits the results to a maximum of num (default: 5).
        Parameters:
        max - the max number of results, must be strictly positive
        Returns:
        the current GetArgs.
      • withScores

        public GetArgs withScores()
        Also to attach the score of each suggestion. This can be used to merge results from multiple instances.
        Returns:
        the current GetArgs.
      • hasScores

        public boolean hasScores()