You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Nicolas (Jira)" <ji...@apache.org> on 2022/07/12 13:57:00 UTC

[jira] [Created] (SOLR-16288) Error indexing files(html, pdf) usingSOLR Cell Tika

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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org