Groovy API and Scrolling


(Arnaud Lahache) #1

Hi,

I'm currently using the Groovy API to create a Grails application
using ElasticSearch. It's such a great product, and i'm very excited
to work with it. Right now, i'd like to execute a scan query, but i
can't find any client.prepareSearchScroll() in the API. I'm not even
sure if we can do that in a Groovier way, using the search() Closure.
I've done quite a few researches on that issue, but I couldn't find
any satisfying results.

So finally i'm asking : is there any way to scroll a search query
using the Groovy API ?

(I'm using the 0.16.2 Groovy API)

Many Thanks,
Arnaud.


(system) #2