Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FTSugGetParameters

The additional parameters of 'FT.SUGGET' command

Hierarchy

  • FTSugGetParameters

Index

Properties

fuzzy: boolean

The 'FUZZY' parameter. if set, we do a fuzzy prefix search, including prefixes at Levenshtein distance of 1 from the prefix sent

max: number

The 'MAX' parameter. If set, we limit the results to a maximum of num (default: 5).

withPayloads: boolean

The 'WITHPAYLOADS' parameter. If set, we return optional payloads saved along with the suggestions. If no payload is present for an entry, we return a Null Reply.

withScores: boolean

The 'WITHSCORES' parameter. If set, we also return the score of each suggestion. this can be used to merge results from multiple instances

Generated using TypeDoc