TypoTolerance

public enum TypoTolerance : String

Values applicable to the typoTolerance parameter.

  • Activate typo tolerance entirely.

    Declaration

    Swift

    case `true` = "true"
  • De-activate typo tolerance entirely.

    Declaration

    Swift

    case `false` = "false"
  • min

    Keep only results with the lowest number of typo. For example if one result match without typos, then all results with typos will be hidden.

    Declaration

    Swift

    case min = "min"
  • If there is a match without typo, then all results with 2 typos or more will be removed. This option is useful if you want to avoid as much as possible false positive.

    Declaration

    Swift

    case strict = "strict"