Add search_base function similar to search_after

Considering page search in opensearch, I am sorry about the search_after function.

The search_after function is performed for the next search target based on the document in the sort criteria.
Can’t we provide a function (search_base?) to perform the next search including that docoument?

Changes in data usually occur in recent data. (In the case of not updating the document)

The troublesome part when implementing a page UI is that the first item when returning to page 1 is not the first item when you first search, unless you rely on something like PointItTime.

If you can search by including the relevant item like search_base, it seems that you can support the page UI without much difficulty without using PIT.

@HyunSeaHoon are you able to connect on this?

1 Like