Re: order of updates

2014-11-03 Thread Matteo Grolla
Thanks really a lot Yonik!

Il giorno 03/nov/2014, alle ore 15:51, Yonik Seeley ha scritto:

> On Mon, Nov 3, 2014 at 8:53 AM, Matteo Grolla  wrote:
>> HI,
>>can anybody give me a confirm?
>> If I add multiple document with the same id but differing on other fields 
>> and then issue a commit (no commits before this) the last added document 
>> gets indexed, right?
> 
> Correct.
> 
>> using solr 4 and default settings for optimistic locking.
> 
> If you haven't seen it, I did an example of that a while back:
> 
> http://heliosearch.org/solr/optimistic-concurrency/
> 
> -Yonik
> http://heliosearch.org - native code faceting, facet functions,
> sub-facets, off-heap data



Re: order of updates

2014-11-03 Thread Yonik Seeley
On Mon, Nov 3, 2014 at 8:53 AM, Matteo Grolla  wrote:
> HI,
> can anybody give me a confirm?
> If I add multiple document with the same id but differing on other fields and 
> then issue a commit (no commits before this) the last added document gets 
> indexed, right?

Correct.

> using solr 4 and default settings for optimistic locking.

If you haven't seen it, I did an example of that a while back:

http://heliosearch.org/solr/optimistic-concurrency/

-Yonik
http://heliosearch.org - native code faceting, facet functions,
sub-facets, off-heap data