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 http://stackoverflow.com/questions/25104927/differences-between-solrs-cursor-and-elasticsearchs-scroll
See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html 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,