Is searchAfter functional in elasticsearch yet?


(Rik-o-the-Nord) #1

I need to do very deep paging. I typically have around 100k and greater
result lists and users really need to traverse very deeply in them. Is
searchAfter the best answer? Is searchAfter functional in elasticsearch
yet? I'm not using elasticsearch as of now but very seriously considering
it. thanks in advance.. rik


(Eric Jain) #2

On Apr 4, 8:59 am, Rik-o-the-Nord rkr...@krollontrack.com wrote:

I need to do very deep paging. I typically have around 100k and greater
result lists and users really need to traverse very deeply in them. Is
searchAfter the best answer? Is searchAfter functional in elasticsearch
yet? I'm not using elasticsearch as of now but very seriously considering
it. thanks in advance.. rik

You can set an offset and a limit [1], or use the scroll API [2].

[1] http://www.elasticsearch.org/guide/reference/api/search/from-size.html
[2] http://www.elasticsearch.org/guide/reference/api/search/scroll.html


(system) #3