Elasticsearch and connection pool

now,i'm use elasticsearch with java api, but i'm use common-pool as the
connections pool, can't no way to check the connection was lost.

--
http://www.caojianghua.com

Why do you use a connection pooling with it? You should create either a
single transport client or node client, it is already thread safe and
automatically reconnects / discovers the cluster.

On Thu, Aug 26, 2010 at 5:56 AM, 曹江华 tujiao.com@gmail.com wrote:

now,i'm use elasticsearch with java api, but i'm use common-pool as the
connections pool, can't no way to check the connection was lost.

--
http://www.caojianghua.com