Figured it out.

in JSON: 

 {"id"       : "book1",
  "author"   : {"set":"Neal Stephenson"}
 }

in XML:

<add><doc><field name="id">book1</field><field name="author" set="Neal
Stephenson"></field>

This seems to work.

Jim



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

Reply via email to