Hello,

I did just find only post about updating document, maybe things evolved
since that time.
I need to update a field in few thousand documents in one time (or multiple
request), but I wouldn't like to have to add a new document instead of the
current one (I mean it's how it works if I well understand).

Example :
curl http://localhost:8982/solr/update --data-binary '<add><doc><field
name="id">1</field><field name="rating">5</field></doc><doc><field
name="id">2</field><field name="rating">2</field></doc></add>' -H
'Content-type:text/xml; charset=utf-8'

This request will replace the current documents by two new one. The
documents contains big text parts and I wouldn't have to send them every
time.

Is there any feature which could allow me to do that?

Thanks !
Vincent
-- 
View this message in context: 
http://www.nabble.com/How-to-update-only-few-fields-in-a-document-tp23560169p23560169.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to