lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Solr cloud and batched updates
Date Mon, 22 Apr 2013 11:05:23 GMT
Thanks Yonik! You see how behind the times I get....

On Sun, Apr 21, 2013 at 5:07 PM, Timothy Potter <thelabdude@gmail.com> wrote:
> That's awesome! Thanks Yonik.
>
> Tim
>
> On Sun, Apr 21, 2013 at 1:30 PM, Yonik Seeley <yonik@lucidworks.com> wrote:
>> On Sun, Apr 21, 2013 at 11:57 AM, Timothy Potter <thelabdude@gmail.com> wrote:
>>> There's no problem here, but I'm curious about how batches of updates
>>> are handled on the Solr server side in Solr cloud?
>>>
>>> Going over the code for DistributedUpdateProcessor and
>>> SolrCmdDistributor, it appears that the batch is broken down and docs
>>> are processed one-by-one. By processed, I mean that each doc in the
>>> batch from the client is sent to replicas individually.
>>>
>>> This makes sense but I wonder if the forwarding on to replicas could
>>> be done in sub-batches?
>>
>> Good news... they already are sent in batches!  The docs are processed
>> one-by-one, but then buffered (into batches) for forwarding to
>> replicas.
>>
>> -Yonik
>> http://lucidworks.com

Mime
View raw message