ES sort all results using pagination


(vlad) #1

I've stack with sorting all returned results which paginated
I've a products list with sorted with ASC or DESC by product price field. Search query return 300 products which I've paginate with size with 12 products per page, but when switch to next page sorting will apply like a new sort and do not continue sorting from first page. I've use default seatch_type ... please any thought how to solve this is as for me quite frequently task for any search engine. Thanks in advance.


(system) #2