Timeouts are server side and best effort. I believe action get(timeout) is
client side.

I use the http client but use both and set the server side timeout to lower
than the client side timeout.

The server side timeout should return partial results if possible.
On Nov 30, 2014 10:41 AM, "Ron Sher" <ron.s...@gmail.com> wrote:

> Hi all,
>
> I want to make sure the search query doesn't exceed some limit.
>
> I've seen the option to use a setTimeout vs actionGet(timeout).
>
> Can someone please explain the difference?
>
> Also, I've read somewhere that there's a default connection timeout. Can
> that be used instead. If so, how?
>
> Thanks for your help,
>
> Ron
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/0f39e669-bd98-4fc3-afbc-df9e3d9b1f52%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/0f39e669-bd98-4fc3-afbc-df9e3d9b1f52%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAPmjWd1boDs7Racvx9kJDc4wUiQ0mhTbH5XOtD88h%2BJ2fA%2B8RQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to