ElasticSearch最佳入门实践(五十七)分布式搜索引擎内核解密之fetch phase

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_33746789/article/details/84111095

1、fetch phbase工作流程

(1)coordinate node构建完priority queue之后,就发送mget请求去所有shard上获取对应的document

(2)各个shard将document返回给coordinate node

(3)coordinate node将合并后的document结果返回给client客户端
在这里插入图片描述

2、一般搜索,如果不加from和size,就默认搜索前10条,按照_score排序

猜你喜欢

转载自blog.csdn.net/qq_33746789/article/details/84111095