Search_after How does it function internally?


(SK) #1

As part of ES 5.x search after is introduced to assist in deep pagination. I would like to know some insights into the internal functional mechanism of search-after when compared to from-to . I am not looking for the usage rather I am interested in workings like what happens when search_after is used i.e how coordinating node queries the documents which avoids problems that arises in deep navigation


(Alexander Reelsen) #2

Hey,

the PR might help https://github.com/elastic/elasticsearch/pull/16125 - especially the changes in the query phase class.

--Alex


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.