我正在通过rejson docs jsonget,并且找不到任何与复杂查询相关的内容,例如:
JSON.GET key1 where key1.subkey1 == "test1 || key3.subkey6.subsubkey2 > 2"
有人知道redis是否支持json输出这样的逻辑? 如果没有,有哪些替代方案?
I am going through rejson docs jsonget and cannot find anything related to complex query as for example:
JSON.GET key1 where key1.subkey1 == "test1 || key3.subkey6.subsubkey2 > 2"
Does anybody know if redis supports such a logic with json output? If not, what are the alternatives ?
最满意答案
否 - ReJSON不支持复杂的查询逻辑。 你可以做的是将它(在应用程序中)与RediSearch( https://redisearch.io )结合使用来索引和搜索文档。
免责声明:ReJSON作者在此参与RediSearch的开发到一定程度:)
No - ReJSON does not support complex query logic. What you could do is couple it (in the application) with RediSearch (https://redisearch.io) to index and search your documents.
Disclaimer: ReJSON author here and involved in RediSearch's development to a degree :)
更多推荐
发布评论