I want to perform fuzzy search in redissearch.
name is a text filed. When I tried
FT.SEARCH panda_beta.mp2c.job_store.json:index '@name_fts:*店员* @pk:{16509}' RETURN 2 pk company_id LIMIT 0 1
but I can't find the result.
When I tried set name='大员大学路创智天地店'
and search
FT.SEARCH panda_beta.mp2c.job_store.json:index '@name_fts:*大员* @pk:{16509}' RETURN 2 pk company_id LIMIT 0 1```
the result is output.Why? How can I resolve it?
For Chinese you have to specify the language when creating the index.
Take a look at
FT.CREATE
documentation:And the
FT.SEARCH
documentation: