redis中的rejson是否支持复杂获取查询?(does rejson in redis support complex get query?)

编程入门 行业动态 更新时间:2024-10-26 21:36:30
redis中的rejson是否支持复杂获取查询?(does rejson in redis support complex get query?)

我正在通过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 :)

更多推荐

本文发布于:2023-08-05 02:06:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1426172.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:rejson   redis   support   query   complex

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!