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

Not update on duplicate key

2011-08-12 Thread Rohit
Hi All, Please correct me if I am wrong, but when I am trying to insert a document into Solr which was previously index, it overwrites the current key. Is there a way to change the behaviour, 1. I don't want Solr to override but on the other hand it should ignore the entry 2. Also, i