You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2022/10/21 19:02:00 UTC

[jira] [Commented] (SOLR-16321) Solr - CSV import - can't read line

    [ https://issues.apache.org/jira/browse/SOLR-16321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17622422#comment-17622422 ] 

Kevin Risden commented on SOLR-16321:
-------------------------------------

Jira is not the correct replace for support requests.  Those should go to the mailing list, IRC channel, or slack channel.

https://solr.apache.org/community.html

A reindex is required because you changed the index analysis part of the fieldType.  The existing documents in the index before your schema change went through a different tokenizer than the new documents, so the query could not work on them until they were reindexed.

If you need further support on this, please use one of the methods mentioned.

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