Are all your fields marked as "stored" in your schema? This is a
requirement for atomic updates.

/Martin Koch


On Mon, Nov 26, 2012 at 7:58 PM, Darniz <rnizamud...@edmunds.com> wrote:

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

Reply via email to