Nicolas created SOLR-16288:
------------------------------

             Summary: Error indexing files(html, pdf) usingSOLR Cell Tika
                 Key: SOLR-16288
                 URL: https://issues.apache.org/jira/browse/SOLR-16288
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Nicolas


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";
 -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}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to