Hi Otis, One question: If the target field is a multi-value field, what will be the consequence of the update for SOLR-139: overriding or appending?
Thank you, Vinci Otis Gospodnetic wrote: > > Hi Galen, > > See SOLR-139 (this is from memory) issue in JIRA. Doable, but not in Solr > nightlies yet, I believe (also from memory), and requires all your fields > to be stored. > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > ----- Original Message ---- > From: Galen Pahlke <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Tuesday, March 25, 2008 4:21:45 PM > Subject: Update a field without reindexing the entire document? > > > Hi, I'm wondering if theres a way to change a single field of a document > without re-indexing every field. I'd like to do something like this: > > <add><doc><field name="id">1</field><field > name="field1">val1</field></doc></add> > > Then later: > > <add><doc><field name="id">1</field><field > name="field2">val2</field></doc></add> > > After the second statement, the document is overwritten, so the value of > field1 is lost. Is there a way I can do something like this so that > documents are only updated, as opposed to overwritten? I've looked through > the docs but couldn't find anything. > > Thanks, > - Galen Pahlke > -- > View this message in context: > http://www.nabble.com/Update-a-field-without-reindexing-the-entire-document--tp16287718p16287718.html > Sent from the Solr - User mailing list archive at Nabble.com. > > > > > > -- View this message in context: http://www.nabble.com/Update-a-field-without-reindexing-the-entire-document--tp16287718p16297582.html Sent from the Solr - User mailing list archive at Nabble.com.