Hi! I am trying to index RTF-files by uploading them to the Solr-Server with CURL. I am trying to pass the required metadata by the "literal.<key>=<value>"-statement.
The "id" and the "module-id" are mandatory in my schema. The "id" is recognized correctly, as one can see in the Solr-response "doc=48a0xxx" ... but the "module-id" seems to be neglected. Why is that? Thanks in advance!!! Here is the CURL-command I pass via Windows 10 Powershell: SOLR-REQUEST: curl.exe " http://localhost:8983/solr/ContiReqManCore/update/extract/?commit=true&literal.id=48a04d8e5da651c5-000ba8a6-1&literal.project-id=000d8181&literal.project-name=FPK_Medium_19S1&literal.project-path=%2FFPK_Medium_19S1&literal.module-id=000ba8a6&literal.module-name=PVVTS_Functional_FPK_Medium_19S1&literal.module-path=%2FFPK_Medium_19S1%2F02_Quality%2F10_Verification-Validation%2FPVVTS_Functional_FPK_Medium_19S1&literal.module-prefix=PVVTS_Funct_&literal.object-id=1 " -F "object-ole=@D:\(...)\PVVTS_Funct_263.rtf" SOLR-RESPONSE: { "responseHeader":{ "status":400, "QTime":7}, "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","org.apache.solr.common.SolrException"], "msg":"[doc=48a04d8e5da651c5-000ba8a6-1] missing required field: module-id", "code":400} } Mit freundlichen Grüßen/ With kind regards Jan Schluchtmann Systems Engineering Cluster Instruments VW Group Continental Automotive GmbH Division Interior ID S3 RM VDO-Strasse 1, 64832 Babenhausen, Germany Telefon/Phone: +49 6073 12-4346 Telefax: +49 6073 12-79-4346