Hi,

I am trying to delete Solr documents using deleteByQuery(). Unfortunately it
simply hangs, for a long time.

I have tried using both SimpleHttpConnectionManager and
MultiThreaded...(default)
1. 
SolrServer solr;
SimpleHttpConnectionManager cm = new SimpleHttpConnectionManager(true);

the below options were tried as nothing worked
//cm.closeIdleConnections(0L);
//cm.getParams().setConnectionTimeout(10000);
//cm.getParams().setMaxTotalConnections(10);
HttpClient httpClient = new HttpClient(cm);
                
solr = new CommonsHttpSolrServer(solrUrl, httpClient);

2.
SolrServer solr;
solr = new CommonsHttpSolrServer(solrUrl);

Do anyone have any idea?

Thank You.

Regards,
Shan
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Http-Connection-is-hanging-while-deleteByQuery-tp2367405p2367405.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to