第57节:初识搜索引擎_分布式搜索引擎内核解密之query phase

课程大纲

 

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_35524586/article/details/88169752
今日推荐