ES 31 - 內核知識點之fetch phase

fetch phbase工作流程

(1)coordinate node構建完priority queue之後,就發送mget請求去所有shard上獲取對應的document

(2)各個shard將document返回給coordinate node

(3)coordinate node將合併後的document結果返回給client客戶端

  注: 一般搜索,如果不加from和size,就默認搜索前10條,按照_score排序


在這裏插入圖片描述