Hi All.

I am new to this group and ES.

I checked some of the topics in this forum but I wasn't able to find my 
answer that I needed.

I except to have more than 1 million documents in my ES cluster and show 
them via ajax calls in my search results page in my app.

I am using many many filters(except aggregation until now), and my 
application architecture is  "Single Page App".

I want to make pagination with infinite scroll, so on scroll I will show 
next batch of results.

What is the best practice to get filtered  results on window scroll e.g if 
my filtered results are 50000 and I want to show in batches with size of 
250 with infinite scroll?

I am in dilemma to use pagination or scroll in ES. It can affect my 
application performance and this is very important to me.

If you prefer scroll, how can I add scroll in body request instead in URL 
during request? 

I didn't see that in ES documentation.

Thanks for your help.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8b262891-0379-4de8-bbd8-6494b245102f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to