Bartłomiej created SOLR-16321:
---------------------------------

             Summary: Solr - CSV import - can't read line
                 Key: SOLR-16321
                 URL: https://issues.apache.org/jira/browse/SOLR-16321
             Project: Solr
          Issue Type: Task
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Bartłomiej


Hello,

 

I have issue with import CSV. I would like to skip that flauty 116956. Any idea 
how to do this?

 

Try to use skipLines but its not working for particular line number.

[https://solr.apache.org/guide/8_1/uploading-data-with-index-handlers.html]

 

{{shell: curl 
'localhost:8983/solr/simple/update?commit=true&separator=%09&trim=true' 
--data-binary @/simple.csv -H 'Content-type:application/csv'}}

{{Bug log:}}
*13:51:51*      "msg": [*13:51:51*          "{",*13:51:51*          "  
\"responseHeader\":{",*13:51:51*          "    \"rf\":3,",*13:51:51*          " 
   \"status\":400,",*13:51:51*          "    \"QTime\":6317},",*13:51:51*       
   "  \"error\":{",*13:51:51*          "    \"metadata\":[",*13:51:51*          
"      \"error-class\",\"org.apache.solr.common.SolrException\",",*13:51:51*    
      "      \"root-error-class\",\"java.io.IOException\"],",*13:51:51*         
 "    \"msg\":\"CSVLoader: input=null, line=116956,can't read line: 
116956\\n\\tvalues=\{NO LINES AVAILABLE}\",",*13:51:51*          "    
\"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