renjithkathirolil / solr-php-client

Automatically exported from code.google.com/p/solr-php-client
Other
0 stars 0 forks source link

keep alive connection #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have some issue with my hosting provider.  My system make too many Solr 
request.
Is it possible to configure the library to use a "keep alive connection" ?
Thanks

Original issue reported on code.google.com by mkalb...@gmail.com on 27 Aug 2012 at 3:57

GoogleCodeExporter commented 9 years ago
depends on your usage. You can use curl to reduce the number of connections 
within a single request / solr server instance, but there is no way to have a 
connection reused between different instantiations that I know of - unless PHP 
itself supports connection pooling in curl or the http wrapper at a level I'm 
not aware of.

You should ask these kinds of questions on the mailing list unless there is a 
real bug here.

Original comment by donovan....@gmail.com on 28 Aug 2012 at 2:22