<field name="id" type="string" indexed="true" stored="true" required="true" /> <field name="user" type="string" indexed="true" stored="true"/>
curl 'localhost:8983/solr/update?commit=true' -H 'Contenttype: application/json' -d '[{"id":"1","user":{"add":"jack"}}]'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)