Re: Connection Pool

2014-10-26 Thread joergpra...@gmail.com
The TransportClient creates connections automatically.

You can set number of worker threads in the setting
transport.netty.worker_count

See also source code

https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/transport/netty/NettyTransport.java#L101

for more settings regarding connections per node.

Jörg

On Sun, Oct 26, 2014 at 6:09 PM,  wrote:

> Hi,
>
> I want to know how to create connection pool for connecting to Elastic
> Search using java.
>
> Now, using TransportClient in java.
>
> And also, How TransportClient handle connection?
>
> Looking forward for quick reply.
>
> Thanks.
>
>  --
> 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/69e84cce-3ef8-4f13-9df7-35385d3dca2e%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/69e84cce-3ef8-4f13-9df7-35385d3dca2e%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/CAKdsXoF2fh%3DM5Kiv7DtuiK5KSYZ0EybVk5TKi%2BXCUOd1OXiBsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Connection Pool

2014-10-26 Thread pooja . fiserv
Hi,

I want to know how to create connection pool for connecting to Elastic 
Search using java.

Now, using TransportClient in java.

And also, How TransportClient handle connection?

Looking forward for quick reply.

Thanks.

-- 
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/69e84cce-3ef8-4f13-9df7-35385d3dca2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.