IIRC the Java API doesn't have any default client-side timeout for search requests, its an opt-in feature
-- Itamar Syn-Hershko http://code972.com | @synhershko <https://twitter.com/synhershko> Freelance Developer & Consultant Author of RavenDB in Action <http://manning.com/synhershko/> On Sun, Nov 30, 2014 at 11:37 PM, Nikolas Everett <[email protected]> wrote: > Default for server side timeout is none and I don't know client side > timeout. I imagine it is a long time. > On Nov 30, 2014 1:46 PM, "Ron Sher" <[email protected]> wrote: > >> Thanks for the info. >> >> Do you know what are the defaults? >> >> On Sunday, November 30, 2014 5:53:49 PM UTC+2, Nikolas Everett wrote: >>> >>> 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" <[email protected]> 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 [email protected]. >>>> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/660f86bb-0f96-431c-acb5-aa4f5971578a%40googlegroups.com >> <https://groups.google.com/d/msgid/elasticsearch/660f86bb-0f96-431c-acb5-aa4f5971578a%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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0uKbdDubBAS-9AhwW4G2gQbJHs-fAg_qkhv0WcRn1K%2BQ%40mail.gmail.com > <https://groups.google.com/d/msgid/elasticsearch/CAPmjWd0uKbdDubBAS-9AhwW4G2gQbJHs-fAg_qkhv0WcRn1K%2BQ%40mail.gmail.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZtfnhCZJUrKv7fDc-hO%3D3Dpgv8xjUK3up3cCiaY60SmCQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
