Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
Windows7 , java 1.7, solr 4.7.2
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