Great ! This solution worked for me
Jothi Sivathanupillai,
IT Programmer Analyst Principal I
_
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may in
: Everything works. The OutputStreamWriter used by
: StreamingUpdateSolrServer uses the default encoding. UTF-8 might be
: better, but maybe there are reasons not to hard-code it.
no, this was a big thta's been fixed in svn...
https://issues.apache.org/jira/browse/SOLR-1595
...it wo
Yeah, I just figured out that if I set
export JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"
Everything works. The OutputStreamWriter used by StreamingUpdateSolrServer
uses the default encoding. UTF-8 might be better, but maybe there are reasons
not to hard-code it.
Thanks,
Hugh
On May 28, 2010,
I had a similar problem a few days ago and I found that the documents where not
being loaded correctly as UTF-8 into Solr. In my case, the loader program was
a Java.jar I was executing from a cron job. There I added this:
java -Dfile.encoding=UTF-8 -jar /home/tim/solr/bin/loadSiteSearch.jar
T