I have a set of key/values in my Redis DB, where values are generic JSON documents. There is no common JSON schema.
Is there a way to query these documents based on the structure of JSON objects. For example, return all documents where “state” = “CA” and “user.org” = “DevOps”.
One way would be to use redis-query, but AFAIK it requires setting JSON schema, which I don’t know upfront.
Are there any other alternatives?
RediSearch when used with RedisJSON doesn’t require a full JSON schema.
But it does require that you’ll define which paths in JSON should be indexed.
All the other paths are ignored and can be flexible.