lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darniz <rnizamud...@edmunds.com>
Subject Re: error while doing partial update using curl
Date Mon, 26 Nov 2012 18:32:15 GMT
i tried issuing a command using curl with xml syntax and it turns out that it
replace my whole documents rather than updating a specific field this is
what i gave, i got an impression providing update=set will only changes that
field rather than reindexing the entire document. Any idea how to issue
partial updates

curl http://host:8080/solr/update?commit=true -H 'Content-type:text/xml' -d
'<add><doc><field name="id">63481697</field><field name="authorGender"
update="set">male</field></doc></add>'





--
View this message in context: http://lucene.472066.n3.nabble.com/error-while-doing-partial-update-using-curl-tp4022313p4022416.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message