I am new to ES and confused by my scroll documentation. From the documents βScrolling is not intended for user requests in real time, but is intended for processing large amounts of data, for example, for overriding the contents of one index into a new index with a different configuration.β
And yet ... further on the same page it says that you cannot use from () and size () to paginate, because it is "very inefficient." The Java API page that describes the search shows an example of paging by scrolling.
So, if I want to present the sorted search results, page at a time, which approach is recommended: from / size or scroll?
elasticsearch
Brian tarbox
source share