Using scala elastic4s module for search an ES cluster

Hi All:
I have been using elastics4s module for searching and I have been using
it with some amount of success. Its not been all successful because, I have
one scenario where the API seems to fail.

case in point. :

search in "index/type" limit 100 query {
ids(docIds)
} scroll ("5m")

Case that works : - I am able to scroll through the results and get all of
the documents.

client:ElasticClient = ElasticClient.remote(setttings, ("host1",9200))

Case that does not work : - I get only the first page of results and
scrolling does not work.

client:ElasticClient =
ElasticClient.remote(settings,("host1",9200),("host2",9200))

My Question about scrolling is does it work only when one node is used in
the configuration or does it work when multiple nodes are specified in the
configuration.

Thanks

Ramdev

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7c0abf3f-ced4-499a-95cc-6b975900c803%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Interesting question. I can't find anything in the scroll docs that says it
would be single node only, so I guess the next question is - does this work
in the Java client for you? If so, raise a bug issue on
GitHub - sksamuel/elastic4s: Elasticsearch Scala Client - Reactive, Non Blocking, Type Safe, HTTP Client if you can.

On Thursday, February 5, 2015 at 1:22:58 PM UTC, Ramdev Wudali wrote:

Hi All:
I have been using elastics4s module for searching and I have been using
it with some amount of success. Its not been all successful because, I have
one scenario where the API seems to fail.

case in point. :

search in "index/type" limit 100 query {
ids(docIds)
} scroll ("5m")

Case that works : - I am able to scroll through the results and get all of
the documents.

client:ElasticClient = ElasticClient.remote(setttings, ("host1",9200))

Case that does not work : - I get only the first page of results and
scrolling does not work.

client:ElasticClient =
ElasticClient.remote(settings,("host1",9200),("host2",9200))

My Question about scrolling is does it work only when one node is used in
the configuration or does it work when multiple nodes are specified in the
configuration.

Thanks

Ramdev

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/27139e92-8254-4c2d-ab60-e4f22463d66b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.