> : <processor > class="solr.DefaultValueUpdateProcessorFactory"> > : <str > name="fieldName">uniqueKey</str> > : <str > name="value">NEW</str> > : </processor> > > ...that approach won't work, it still relies on the > UUIDField class > accepting "NEW" as input to generate a new key, and that is > no longer > supported -- it happens to "late" in the processing for it > to be used as > the unique key)
I tested this approach (At revision 1379678) and it seems working. I can see generated values. e.g. <str name="uniqueKey">a259aa91-353f-4824-9f68-01837b721cf7</str> > you may want to primarily describe the > UUIDUpdateProcessorFactory as > how to generate a UUID for new documents, and then as a > closing comment > mention that in Solr 3, the default="NEW" approach can be > used instead. Thanks for the pointer, I will try do it. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org