Hi - I am trying to index files such as html and pdf. I got the following
error related to unique id which is defined in the curl command. The unique
id is set with the literal.id parameter.

Can you please help? I read all the documentation of SOLR Cell and tika,
and I am doing the steps as its described.

Here is what I enter in the cmd.

C:\>*curl
"https://localhost:8984/solr/XP0_Slavik_web_index/update/extract?literal.id=doc1?commit=true
<https://localhost:8984/solr/XP0_Slavik_web_index/update/extract?literal.id=doc1?commit=true>"
-F "myfile=@example.pdf"*
{
  "responseHeader":
{     "status":400,     "QTime":55}

,
  "error":{
    "metadata":[
      "error-class","org.apache.solr.common.SolrException",
      "root-error-class","org.apache.solr.common.SolrException"],
    "msg":"*Document is missing mandatory uniqueKey field: _uniqueid*",
    "code":400}}

Reply via email to