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: Atomic commit across shards?
Date Tue, 17 Sep 2013 12:50:02 GMT
There are two things to think about here.
1> if you're issuing the commit manually (i.e. not relying on the settings
in
solrconfig.xml) then they are atomic. The call doesn't return until all the
active nodes have seen the commit.

2> However, autocommits are usually time based. Since servers start
up at different times, if you're relying on the the settings in
solrconfig.xml
to do the commits then there will be slight offsets since the timers will
expire
at slightly different times.

Best,
Erick


On Mon, Sep 16, 2013 at 6:44 PM, Damien Dykman <damien.dykman@gmail.com>wrote:

> Is a commit (hard or soft) atomic across shards?
>
> In other words, can I guaranty that any given search on a multi-shard
> collection will hit the same index generation of each shard?
>
> Thanks,
> Damien
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message