lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From primoz.sk...@policija.si
Subject Re: Updating an entry in Solr
Date Wed, 13 Nov 2013 14:37:23 GMT
Yes, that's correct. You can also update document "per field" but all 
fields need to be stored=true, because Solr (version >= 4.0) first gets 
your document from the index, creates new document with modified field, 
and adds it again to the index...

Primoz



From:   gohome190 <gohome190@gmail.com>
To:     solr-user@lucene.apache.org
Date:   13.11.2013 14:39
Subject:        Re: Updating an entry in Solr



Okay, so I've found in the solr tutorial that if you do a POST command and
post a new entry with the same uniquekey (in my case, id_) as an entry
already in the index, solr will automatically replace it for you.  That
seems to be what I need, right?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Updating-an-entry-in-Solr-tp4100674p4100675.html

Sent from the Solr - User mailing list archive at Nabble.com.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message