Closed alexbatis closed 3 weeks ago
Hi @alexbatis. Looks like we have an interfacing issue with our new improved json backend 😢
We'll fix this issue in our next release, for now you can run Dragonfly with --jsonpathv2=false
. I checked and it works
thanks for the workaround @dranikpg. i'll watch out for the next release and give it another try then
Describe the bug When performing a FT.SEARCH query on a TAG field on a JSON document, no results are returned. However, the same functionality works both on a HASH document in dragonfly and a JSON document using redisearch
To Reproduce Steps to reproduce the behavior:
Europe
as theTAG
attributecontinent
.Expected behavior Expected behavior would be that cities with the
continent
field matchingEurope
would be found, like they are when using hashes or redisearch. This behavior is outlined in the dragonfly FT.SEARCH docs.Screenshots dragonfly (not working as expected):
dragonfly docs:
dragonfly (working example using hashes) - taken from dragonfly search announcement example:
redis-stack (uses exact same code as reproduction steps above and demonstrates expected behavior)
Environment (please complete the following information):
Reproducible Code Snippet
Additional context Code for working hash example:
I've also tried escaping the string in many different ways, as some other issues mention incorrect query formatting. as dragonfly is intended to be a drop in redis replacement i would hope that i wouldn't need to format the query in a different way to get it to work.
My ultimate goal is to get this type of query working with redis-om-node
Thanks for your help!