Hi Renee,
Mike is right, this is a question to post on the HttpClient users list
(httpclient-us...@hc.apache.org).
And yes, there is a separate setConnectionTimeout() that can be used.
Though I'm most familiar with HttpClient 4.0, not 3.1.
One possibility is that the ping response handler is responding (the
connection is established), but you're not getting any data back.
-- Ken
On Oct 13, 2010, at 4:41am, Michael Sokolov wrote:
This does seem more like an HTTPClient question than a solr question
- you
might get more traction on their lists? Still, from what I remember
HTTPClient has a number of timeouts you can set. Perhaps it's the
read
timeout you need?
-Mike
-----Original Message-----
From: Renee Sun [mailto:renee_...@mcafee.com]
Sent: Tuesday, October 12, 2010 7:47 PM
To: solr-user@lucene.apache.org
Subject: Re: using HTTPClient sending solr ping request wont
timeout as specified
I also added the following timeout for the connection, still
not working:
client.getParams().setSoTimeout(httpClientPingTimeout);
client
.getParams().setConnectionManagerTimeout(httpClientPingTimeout);
--
View this message in context:
http://lucene.472066.n3.nabble.com/using-HTTPClient-sending-so
lr-ping-request-wont-timeout-as-specified-tp1691292p1691355.html
Sent from the Solr - User mailing list archive at Nabble.com.
--------------------------
Ken Krugler
+1 530-210-6378
http://bixolabs.com
e l a s t i c w e b m i n i n g