Re: ConcurrentUpdateSolrServer hanging

2013-07-01 Thread qungg
Hi, BlockUntilFinish block indefinitely sometimes. But if I send a commit from another thread to the instance, the concurrentUpdateServer unblock and send the rest of the documents and commit. So the squence look like this: 1. adding documents as usual... 2. finish adding documents... 3. block un

Re: ConcurrentUpdateSolrServer hanging

2013-06-27 Thread Shawn Heisey
On 6/27/2013 9:32 AM, Michael Della Bitta wrote: Are you using blockUntilFinished() and/or shutdown()? One of the things to note is that a commit is just another "document," so writing a commit into the queue of the ConcurrentUpdateSolrServer isn't enough to get it flushed out. ConcurrentUpdat

Re: ConcurrentUpdateSolrServer hanging

2013-06-27 Thread qungg
Hi Michael, I realized that I might have to use blockUntilFinished before commit, but do I have to use shutdown as well?? Thanks, Qun -- View this message in context: http://lucene.472066.n3.nabble.com/ConcurrentUpdateSolrServer-hanging-tp4073620p4073651.html Sent from the Solr - User mailing

Re: ConcurrentUpdateSolrServer hanging

2013-06-27 Thread Michael Della Bitta
Qun, Are you using blockUntilFinished() and/or shutdown()? One of the things to note is that a commit is just another "document," so writing a commit into the queue of the ConcurrentUpdateSolrServer isn't enough to get it flushed out. Michael Della Bitta Applications Developer o: +1 646 532 3