And to further clarify, the issue isn't in solr-ruby, it's in REXML (a lame
Ruby XML library). Both rsolr and solr-ruby will use libxml instead of REXML
if it is present.
Erik
On Sep 20, 2011, at 03:46 , Pranav Prakash wrote:
> I managed to resolve this issue. Turns out that the issue
I managed to resolve this issue. Turns out that the issue was because of a
faulty XML file being generated by ruby-solr gem. I had to install
libxml-ruby, rsolr and I used rsolr gem instead of ruby-solr.
Also, if you face this kind of issue, the test-utf8.sh file included in
exampledocs is a good
Just in case, someone might be intrested here is the log
SEVERE: java.lang.RuntimeException: [was class
java.io.CharConversionException] Invalid UTF-8 middle byte 0x73 (at char
#66641, byte #65289)
at
com.ctc.wstx.util.ExceptionUtil.throwRuntimeException(ExceptionUtil.java:18)
at com.ctc.wstx.sr.