简体   繁体   English

使用 Elasticsearch NEST Api 的按位运算

[英]Bitwise Operations using Elasticsearch NEST Api

Are bitwise operations supported using the NEST API in ElasticSearch?在 ElasticSearch 中使用 NEST API 是否支持按位运算?

There is no documentation for NEST and I can't find any information on this, nor have we been able to guess at possible syntax.没有 NEST 的文档,我找不到任何相关信息,我们也无法猜测可能的语法。

Bit wise operations can only be performed using scripts ex位操作只能使用脚本执行,例如

"script" : {
                "inline": "def x = 15 & 6;", 
            }
        }

Outside of scripts there is no specific bitwise query.在脚本之外没有特定的按位查询。 Check this open request for the same https://github.com/elastic/elasticsearch/issues/975检查此开放请求是否相同https://github.com/elastic/elasticsearch/issues/975

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM