I have a schema.xml defined to require two fields, "id" and "libDocumentID".
solrconfig.xml is the standard one.
Using curl, I tried posting a PDF file like this:
curl
'http://localhost:8983/solr/update/extract?literal.id=foodf&literal.libDocumentID=foo&commit=true'
-F "myfile=@foo.pdf"
but I got:
<lst name="error"><str name="msg">[doc=foo.pdf] missing required field:
libDocumentID</str><int name="code">400</int></lst>
Can I specify more than one litera.name=value ? Do I have to define
literal.libDocumentID in solrconfig.xml?
I'm using Solr 5.3.1 (please don't ask...).
TK