You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "fatih (JIRA)" <ji...@apache.org> on 2014/09/27 19:53:33 UTC
[jira] [Updated] (SOLR-6569) Why tab seperated file is giving error
in solr during being inserted
[ https://issues.apache.org/jira/browse/SOLR-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
fatih updated SOLR-6569:
------------------------
Description:
link for stackoverflow as well http://stackoverflow.com/questions/26077474/why-tab-seperated-file-is-giving-error-in-solr-during-being-inserted
When below command is run
C:\dev\tools\solr-4.7.2\apache-tomcat-6.0.37\bin>curl "http://localhost:8080/solr-4.7.2/update/csv?commit=true&rowid=id&fieldnames=interfaceseq,extractnumber&separator=%09&stream.file=C:\
opt\invoices\input\5924usage_data1.dat&stream.contentType=text/csv&header=false&trim=true"
I get below error which i can not understand the reason.
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">400</int><int name="QTime">1</int></lst><lst name="error"><str name="msg">ERROR: [doc=0] unknown field 'interfaceseq'</str><int name="code">400</int></lst>
</response>
The file content is as below
10000000001 5923
was:
When below command is run
C:\dev\tools\solr-4.7.2\apache-tomcat-6.0.37\bin>curl "http://localhost:8080/solr-4.7.2/update/csv?commit=true&rowid=id&fieldnames=interfaceseq,extractnumber&separator=%09&stream.file=C:\
opt\invoices\input\5924usage_data1.dat&stream.contentType=text/csv&header=false&trim=true"
I get below error which i can not understand the reason.
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">400</int><int name="QTime">1</int></lst><lst name="error"><str name="msg">ERROR: [doc=0] unknown field 'interfaceseq'</str><int name="code">400</int></lst>
</response>
The file content is as below
10000000001 5923
> Why tab seperated file is giving error in solr during being inserted
> --------------------------------------------------------------------
>
> Key: SOLR-6569
> URL: https://issues.apache.org/jira/browse/SOLR-6569
> Project: Solr
> Issue Type: Bug
> Components: Build, clients - java
> Environment: Windows7 , java 1.7, solr 4.7.2
> Reporter: fatih
> Labels: documentation, features, mentor, newbie
> Fix For: 4.7.2
>
>
> link for stackoverflow as well http://stackoverflow.com/questions/26077474/why-tab-seperated-file-is-giving-error-in-solr-during-being-inserted
> When below command is run
> C:\dev\tools\solr-4.7.2\apache-tomcat-6.0.37\bin>curl "http://localhost:8080/solr-4.7.2/update/csv?commit=true&rowid=id&fieldnames=interfaceseq,extractnumber&separator=%09&stream.file=C:\
> opt\invoices\input\5924usage_data1.dat&stream.contentType=text/csv&header=false&trim=true"
> I get below error which i can not understand the reason.
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
> <lst name="responseHeader"><int name="status">400</int><int name="QTime">1</int></lst><lst name="error"><str name="msg">ERROR: [doc=0] unknown field 'interfaceseq'</str><int name="code">400</int></lst>
> </response>
> The file content is as below
> 10000000001 5923
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org