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 from P1 and P2
interleaved and let's claim they're perfectly interleaved as
P1.1
P2.1
P1.2
P2.2
commit from p1. All the docs are committed from both
processes

Committing from the indexing side is simply flushing
anything currently in memory to the current segments
and opening a new segment where new updates will
be written. There's a tiny bit of delay while this happens
I guess..

HTH
Erick


On Fri, Sep 13, 2013 at 5:21 PM, Phani Chaitanya <pvempaty....@gmail.com>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 ?
>
> Lets say I've a process P1 which issued a commit request and there is
> another process P2 which is still indexing to the same index. What happens
> to the index in that scenario. Are the P2 indexing requests blocked until
> P1
> commit request finishes ?
>
> I'm just wondering about what is the behavior of Solr in the above case.
>
>
>
> -----
> Phani Chaitanya
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Committing-when-indexing-in-parallel-tp4089953.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to