Not sure if there is an automated way, but you could do it by computing a hash of various/all fields at index time and later use that to compare before updating. And you can hide this in a UpdateRequestProcessor. Could be a generally useful feature, so consider contributing.
Otis -- SOLR Performance Monitoring - http://sematext.com/spm On Nov 24, 2012 3:37 PM, "Pratyul Kapoor" <praty...@gmail.com> wrote: > Hi, > > I just discovered that solr while editing a particular field of a document, > removes the entire document and recreates. > > I have a list of 1000s of documents to be indexed. But I am aware that only > some of those documents would be changed and rest all would already be > there. Is there any way, I can check whether the incoming and already > existing document is same, and there is no need of indexing it again. > > Pratyul >