弹性搜索协调节点角色-复杂的聚合

时间:2020-03-29 07:02:48

标签: elasticsearch

我了解到坐标节点广播搜索请求,并使用“查询然后提取阶段”来收集从数据节点接收的结果。

它是在“查询然后取回阶段”的一次迭代中完成的,还是搜索请求可以进行多次查询然后取回阶段的迭代?

假设接受来自Elastic Search Complex Scenario的复杂过滤器查询(信用:Val,谢谢@Val),它会涉及查询的多次迭代然后获取阶段吗?协调节点采取什么步骤来回答此查询

override fun onCreate(savedInstanceState: Bundle?) {
            super.onCreate(savedInstanceState)
            mainActivityDataBinding = DataBindingUtil.setContentView(
                this,
                R.layout.activity_main
            );

1 个答案:

答案 0 :(得分:0)

有一些提示。如果有好奇心的人将其张贴在这里

https://discuss.elastic.co/t/elastic-search-coordinating-node-role-complex-aggregations/225622/5

The details change as various things are optimised and evolve.
There are a number of "it depends" e.g. the "canMatch" pre-flight phase will not run if there's insufficient numbers of shards being queried or custom search routing is used or DFS is used.
Cross-cluster-search is another consideration.

Here's probably a good place to start if you're curious.
相关问题