Backward searchafter functionality


#1

Is it possible to have a search_before api using sort curser, same as search_after?
When having large amount of results, it makes more sense to implement backend scroll up instead of cashing all results in the app.


(Nik Everett) #2

I'm not an expert at all on search_after but have you tried reversing the sort?


#3

Nice idea, but I still need to re-sort elastic results before sending the page to the app.
Getting this functionality in elastic will be the optimized way.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.