redis / docs

Documentation for Redis, Redis Cloud, and Redis Enterprise
https://redis.io/docs/latest/
Other
15 stars 86 forks source link

Tokenization not working with JSON #384

Closed juergsch closed 4 weeks ago

juergsch commented 4 weeks ago

When using redisearch for JSON documents like {"id":"456.00.0000"} FT.SEARCH myIndex 456 delivers the document. FT.SEARCH myIndex 456\\.0 or FT.SEARCH myIndex "456\\.0" delivers no result tested with redisearch 2.10.3. Or did I misunderstood the mechanism? How to search for text fields containing "." characters?

dwdougherty commented 4 weeks ago

Hi @juergsch . Give the following a try.

redis.cloud:6379> FT.SEARCH myIndex "@id:456.00.0000"

If that doesn't work, please raise your issue on our Discord channel. There are lots of friendly people there who can answer technical questions. This site is for reporting documentation issues.