redis-py icon indicating copy to clipboard operation
redis-py copied to clipboard

Please add the ability to chain multiple filters in a single redis search query

Open erniavr opened this issue 3 years ago • 1 comments

For example, let's say i want to search if a date is between of start/end date, i would like to have the ability in a single query.

erniavr avatar Aug 15 '22 08:08 erniavr

Hey! RediSearch has this - for a date with Unix timestamps between would be @date:[start end] you can check out some more of the query syntax here - you can also see at the bottom a table of how to do things like num less than 10 or greater than 20 - @num:[-inf (10] | @num:[(20 +inf]

We also have a Redis University course all about search if you're interested in trying out some more queries.

sav-norem avatar Sep 29 '22 16:09 sav-norem

This issue is marked stale. It will be closed in 30 days if it is not updated.

github-actions[bot] avatar Feb 13 '24 00:02 github-actions[bot]