Solr, how to use the new field update modes (atomic updates) with SolrJ
问题 Solr 4.x has this nice new feature that lets you specify how, when doing an update on an existing document, the multiValued fields will be updated. Specifically, you can say if the update document will replace the old values of a multivalued field with the new ones, or if it should append the new values to the existing ones. I've tried this using the request handler, as described here: http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22field.22 I've used curl to send xml