lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: error when post xml data to solr
Date Mon, 22 Sep 2008 23:04:29 GMT

: thanks for your reply
: 
: the content of xml file is chinese

My mail reader wasn't able to display the chinese characters in your XML 
example, but the stack trace you posted doesn't seem to indicate any 
problem with characters in the field value (did you try posting a simple 
file with only basic ascii characters?) ...

: > > com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
: > > at [row,col {unknown-source}]: [1,0]

The exception seems to indicate that the "file" solr is getting is 
completley empty (an EOF character in column 0 of row 1)

how exactly are you posting your file to Solr?  have you tried using the 
simple post tool in example/exampledocs?  (java -jar post.jar yourfile.xml)



-Hoss


Mime
View raw message