I would create a hash of the document content and store that in SOLR along with 
any document info you wish to store. When a document is presented for indexing, 
hash that and compare to the hash of the stored document, index if they are 
different and skip if they are not.

François
 

On Nov 24, 2012, at 3:30 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

Reply via email to