jimtronic <jimtronic <at> gmail.com> writes:

> 
> Actually, the correct method appears to be this:
> 
> an atomic update in JSON:
>  {
>   "id"       : "book1", 
>   "author"   : {"set":"Neal Stephenson"} 
>  } 
> 
> the same in XML: 
> 
> <add>
>     <doc>
>       <field name="id">book1</field>
>       <field name="author" update="set">Neal Stephenson</field>
>     </doc>
> </add>
> 
> Jim
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/How-to-post-
atomic-updates-using-xml-tp4007323p4007517.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> 
> 



Hi, 

Is there a method to set-update multivalued fields?
As I understand, the "<field name="author" update="set">Neal 
Stephenson</field>" 
syntax can update only one field value.

Thanks,
Akos



Reply via email to