Open okimonhgb opened 1 month ago
@dranikpg can you kindly take a look? :pray:
@okimonhgb is it full text search? it's not supported. indeed I do not see that it is clearly specified in the documentation.
@romange yes it is full text search. It works for exact word searches but seems doesn't support word prefixes. Is it planned to be supported in near future? Is there any workaround? We want to use replace our redis instance with dragonfly but this problem breaks existing codes.
Unfortunately it won't be implemented in near future.
Ok. I understand there is also no workaround? So we should plan according to this. Can I keep this issue open? Best regards,
Sure :)
Describe the bug Fulltext search gives error if I want to search for words that match a given prefix: FT.SEARCH idxe:content "@text:football*" "ERR Query syntax error"
To Reproduce Steps to reproduce the behavior:
Expected behavior for exact search I get no error: FT.SEARCH idxe:content "@text:football" My existing app. running on Redis doesn't get any error for prefix matching as expected:
https://redis.io/docs/latest/develop/interact/search-and-query/query/full-text/
FT.SEARCH index "prefix*" ... <<<
Screenshots Error with dragonfly:
No error with Redis:
Environment (please complete the following information):
Reproducible Code Snippet FT.CREATE indxe:content ON JSON PREFIX 1 contents: SCHEMA $.text AS text TEXT
FT.SEARCH idxe:content "@text:football*"
Minimal code snippet to reproduce this bug
FT.SEARCH idxe:content "@text:football*"
Additional context Add any other context about the problem here.