Search by page the same document is returned on multiple pages

when we use 'from' 'size' ,we find the same document is returned on multi pages, can scroll solve this problem? if scroll_id can be used by multi user?

there is a page explain the difference between solr cusor and es scroll

See for a more detailed explanation of scroll.

The part that might be relevant to your problem:

The results that are returned from a scroll request reflect the state of the index at the time that the initial search request was made, like a snapshot in time. Subsequent changes to documents (index, update or delete) will only affect later search requests.

Hope this helps,


thank you for your reply, we will change to scroll in the future,