lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onyourmark <>
Subject first time user
Date Sat, 13 Dec 2014 00:05:40 GMT
Hi. I tried setting up and running solr on a pc. Then I tried to index a
document that was semicolon delimited although it has a file extension of
.csv and got the following:

C:\Users\Owner\Downloads\SOLR\solr-4.10.2>java -classpath
dist/solr-core-4.10.2.jar -Dauto org.apache.solr.util.SimplePostTool
SimplePostTool version 1.5
Posting files to base url http://localhost:8983/solr/update..
Entering auto mode. File endings considered are
POSTing file tweets_01-01-12_12-00-02.csv (text/csv)
SimplePostTool: WARNING: Solr returned an error #400 (Bad Request) for url:
SimplePostTool: WARNING: Response: <?xml version="1.0" encoding="UTF-8"?>
<lst name="responseHeader"><int name="status">400</int><int
name="QTime">0</int></lst><lst name="error"><str name="msg">CSVLoader:
input=null, line=1,expected 1 values but got 2
@alandavidharris: Great bargains on our 8ft tall LED outdoor cherry tree.
Now half price at £149.00;DEVON','
ENGLAND;;;;;0;0',}</str><int name="co
SimplePostTool: WARNING: IOException while reading response: Server returned HTTP response code: 400 for URL:
1 files indexed.
COMMITting Solr index changes to http://localhost:8983/solr/update..
Time spent: 0:00:00.078


Then I tried a query for 'eyebrows' which I saw was in the .csv file like

at http://localhost:8983/solr/#/collection1/query

but I got:

  "responseHeader": {
    "status": 0,
    "QTime": 0,
    "params": {
      "q": "eyebrows",
      "indent": "true",
      "wt": "json",
      "_": "1418362651114"
  "response": {
    "numFound": 0,
    "start": 0,
    "docs": []

Can anyone suggest what I have done wrong and how I can index this type of
Thank you.

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message