lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: UUIDField uniqueKey with default="NEW"
Date Sat, 01 Sep 2012 03:45:29 GMT

: A second part here is the SignatureUpdateProcessor. It is a similar
: item in that it can update 'id'. Are there any gotcha's with it?

it's totally safe for update processors to assign the uniqueKey (that's 
why the UUIDUpdateProcessor was written to replace the 'NEW' meme) as long 
as you don't go out of your way to configure that processor to run *after* 
the DistributedUpdateProcesor.

That's the crux of why the changed needed to be made -- the uniqueKey 
field needs to be filled in so DistributedUpdateProcesor knows which 
shared to send it to.


-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message