ok, So I figured this bit out with a few provisos........ ( there wasn't a
test that covered this case in the UnitTests)
Build the Search Requests like so :
search in "index/type" query
} scroll (KeepAlive - duration using ES duration syntax for eg: 1m -
Once the query is built, the first query is executed like so :
The SearchResponse from the future returned, from executing the Query,
also returned a ScrollId
Subsequent Queries (to get scroll through the rest of the full results of
the query :
Keep in mind that the scrollId needs to be retrieved after each search
Even tho' there were two calls allowed for search scroll
Only the 2nd call actually worked in my case. the first call went thought
the first execution, and 2nd execution. But failed to return a scold on
the 2nd time around and so it failed to proceed beyond that point.
That said, if someone is able to point out why a KeepAlive parameter needs
to be passed (contrary to what ES' s site defines how scroll works)
On Tuesday, 11 November 2014 15:00:15 UTC-6, Ramdev Wudali wrote:
What is the syntax for using the scroll API for searches using the
scala interface (elastic4s) ?
I am not able to find suitable documentation for this and any help is
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@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8d8e40c4-149a-4c53-9753-a01839852478%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.