Re: Committing when indexing in parallel

2013-09-15 Thread Phani Chaitanya
Thanks Yonik. - Phani Chaitanya -- View this message in context: http://lucene.472066.n3.nabble.com/Committing-when-indexing-in-parallel-tp4089953p4090246.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Committing when indexing in parallel

2013-09-15 Thread Yonik Seeley
On Fri, Sep 13, 2013 at 5:21 PM, Phani Chaitanya wrote: > I'm wondering what happens to commit while we are indexing in parallel in > Solr. Are the indexing update requests blocked until the commit finishes ? Nope. The add (updates) and commit can proceed in parallel. Because of this, the add th

Re: Committing when indexing in parallel

2013-09-15 Thread Phani Chaitanya
Thanks Jack. In this case my question is just out of curiosity around what happens in the scenario I mentioned. Nothing else. Regards, Phani. - Phani Chaitanya -- View this message in context: http://lucene.472066.n3.nabble.com/Committing-when-indexing-in-parallel-tp4089953p4090243.html Se

Re: Committing when indexing in parallel

2013-09-14 Thread Jack Krupansky
013 7:36 PM To: solr-user@lucene.apache.org Subject: Re: Committing when indexing in parallel Thanks Erick. I completely did not get the point you are trying to make w.r.t my question. I'll add it again according to your example. In the example you gave w.r.t P1.1, P2.1, P1.2, P2.2

Re: Committing when indexing in parallel

2013-09-14 Thread Amit Jha
Hi, As per my knowledge, any number of requests can be issued in parallel for index the documents. Any commit request will write them to index. So if P1 issued a commit then all documents of P2 those are eligible get committed and remaining documents will get committed on other commit request.

Re: Committing when indexing in parallel

2013-09-14 Thread Phani Chaitanya
Thanks Erick. I completely did not get the point you are trying to make w.r.t my question. I'll add it again according to your example. In the example you gave w.r.t P1.1, P2.1, P1.2, P2.2 and P1 issues a commit, I understand that all documents are committed. Now what happens when P1 issues a com

Re: Committing when indexing in parallel

2013-09-14 Thread Erick Erickson
First, there is no blocking, your P1 and P2 indexing processes should continue on just fine. That nit aside... No matter how many processes are indexing to Solr, the documents are treated as though they came in serial requests as far as committing is concerned. Let's say you send the data to Solr