I have a redis store with some JSON docs. I want to do a query matching {status: 'new'}
How do I do this with redis?
There are some docs that show the CLI but they assume I have already got an index.
redis.cloud:6379> FT.SEARCH myIdx "@category:{foo} @category:(hello)"
Not quite sure if I can query on any field. How to do this in python, or do I have to use FT.SEARCH
via the driver like some caveman raw SQL approach?
There's a ft (fulltext?) search module but that's overkill/not relevant.
There's an ORM that will enable this, but for a simple query I'd rather avoid a whole ORM and defining schemas, etc.
Do I have to create and update an index on the fields I want to search on? I'm confused that redis doesn't handle this in 2023, I thought it was for more than a simple key-value store now.