I am having a hard time with the synonym groups of the RedisSearch module. I would like to retrieve a name using FT.SEARCH using a synonyms group.
What I am doing is the following:
FT.CREATE test SCHEMA name TEXT SORTABLE FT.SYNADD test WORD EXAMPLE FT.ADD test I00001 1.0 FIELDS name "WORD" FT.SEARCH test EXAMPLE
With this code, I would expect to get the result ‘WORD’ from the last FT.SEARH clause, but I am getting none.
Should I change something in the order of the statements, or is it something else I am doing wrong?
Any help is much appreciated,
Thank you in advance.