Re: Not update on duplicate key

2011-08-14 Thread Erik Hatcher
Though I think you could get the Dedupe feature to do this: http://wiki.apache.org/solr/Deduplication On Aug 13, 2011, at 11:52 , Erick Erickson wrote: > If you mean just throw the new document on the floor if > the index already contains a document with that key, I don't > think you can do tha

Re: Not update on duplicate key

2011-08-13 Thread Erick Erickson
If you mean just throw the new document on the floor if the index already contains a document with that key, I don't think you can do that. You could write a custom updateHandler that checks first to see whether the particular uniqueKey is in the index I suppose... Best Erick On Fri, Aug 12, 2011