lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas Ball <>
Subject Re: Atomic Multicore Operations - E.G. Move Docs
Date Mon, 02 Jul 2012 10:37:12 GMT

That could work, but then how do you ensure commit is called on the two
cores at the exact same time?
Also, any way to commit a specific update rather then all the back-logged


On Sat, 30 Jun 2012 16:19:31 -0700, Lance Norskog <>
> Index all documents to both cores, but do not call commit until both
> report that indexing worked. If one of the cores throws an exception,
> call roll back on both cores.
> On Sat, Jun 30, 2012 at 6:50 AM, Nicholas Ball
> <> wrote:
>> Hey all,
>> Trying to figure out the best way to perform atomic operation across
>> multiple cores on the same solr instance i.e. a multi-core environment.
>> An example would be to move a set of docs from one core onto another
>> and ensure that a softcommit is done as the exact same time. If one
>> to
>> fail so would the other.
>> Obviously this would probably require some customization but wanted to
>> know what the best way to tackle this would be and where should I be
>> looking in the source.
>> Many thanks for the help in advance,
>> Nicholas a.k.a. incunix

View raw message