You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jason Gerlowski <ge...@gmail.com> on 2018/02/15 15:07:33 UTC

Re: solr read timeout

Hi Prateek,

Depending on the SolrServer/SolrClient implementation your application
is using, you can make use of the "setSoTimeout" method, which
controls the socket (read) timeout in milliseconds.  e.g.
http://lucene.apache.org/solr/4_8_1/solr-solrj/org/apache/solr/client/solrj/impl/HttpSolrServer.html#setSoTimeout(int)

Best,

Jason

On Thu, Feb 15, 2018 at 9:58 AM, Prateek Jain J
<pr...@ericsson.com> wrote:
>
> Hi All,
>
> I am using solr 4.8.1 in one of our application and sometimes it gives read timeout error. SolrJ is used from client side. How can I increase this default read timeout?
>
>
> Regards,
> Prateek Jain
>