lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darniz <rnizamud...@edmunds.com>
Subject Re: How to post atomic updates using xml
Date Mon, 26 Nov 2012 18:58:27 GMT
i tried using the same logic to update a specific field and to my surprise
all my other fields were lost. i had a doc with almost 50 fields and i
wanted to update only the gender field i issued the below command

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>' 

to me it looks like it replace my entire document.

Can you please let me know what went wrong



--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-post-atomic-updates-using-xml-tp4007323p4022424.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message