Re: solr ignore duplicate documents

2011-12-13 Thread Erick Erickson
You're probably talking a custom update handler here. That way you can do a document ID lookup, that is just see if the incoming document ID is in the index already and throw the document away if you find one. This should be very efficient, much more efficient than making a separate query for each

Re: solr ignore duplicate documents

2011-12-13 Thread Mikhail Khludnev
Man, Does overwrite=false work for you? http://wiki.apache.org/solr/UpdateXmlMessages#add.2BAC8-replace_documents Regards On Tue, Dec 13, 2011 at 11:34 PM, Alexander Aristov < alexander.aris...@gmail.com> wrote: > People, > > I am asking for your help with solr. > > When a document is sent to

solr ignore duplicate documents

2011-12-13 Thread Alexander Aristov
People, I am asking for your help with solr. When a document is sent to solr and such document already exists in its index (by its ID) then the new doc replaces the old one. But I don't want to automatically replace documents. Just ignore and proceed to the next. How can I configure solr to do s