Autocomplete RediSearch

Assuming I have this string “Hello World!” indexed in Redis, then I am trying to get the search results by autocomplete methodology in Redis by typing “world”.
FT.SUGGET indexName world FUZZY

The “Hello World!” string is not retrieved. How can I include this string in the result by autocomplete methodology in Redis ?

Two things:

  1. Have you indexed the string “Hello World” with FT.SUGADD? It’s a common misconception that the suggestion engine is somehow tied to the full-text search.
  2. The suggestion/autocomplete engine is based on a prefix search, so you should get results on “H” or “HE” but not “WORLD”.