How do you add multiple documents to Solr in JSON in a single request?

In XML, I can just send this:
<add>
    <doc><field name="id">1</field></doc>
    <doc><field name="id">2</field></doc>
</add>

There is an example on this page:
http://wiki.apache.org/solr/UpdateJSON

But it doesn't demonstrate how to send more than one document.

Thanks,

- Neil

Reply via email to