Hi, Go for option 2. I don't know if Solr will detect document changes, but I don't think it will. Field updates currently still mean delete+add (see SOLR-139).
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: wojtekpia <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Tuesday, June 10, 2008 2:52:37 PM > Subject: Update Behvior > > > Hi, > > I'm trying to optimize how I update documents in my index. My optimizations > will depend on how Solr behaves in the following scenarios: > > 1. I update a document with itself (i.e. no changes). Does Solr detect that > the document is unchanged and basically ignore my request? > > 2. I change only one field value in a document and then update it (leaving > several other field values unchanged). Does Solr leave the "unchanged" part > alone in the index? > > I'm currently considering two options for updating my index: a) always send > all items for re-indexing, and b) do some change-detection, and only send > updated documents for re-indexing. > > Any insight is appreciated. > > Thanks! > > > Wojtek > -- > View this message in context: > http://www.nabble.com/Update-Behvior-tp17762182p17762182.html > Sent from the Solr - User mailing list archive at Nabble.com.