Re: SolrJ Unicode problem

2014-05-21 Thread Sivathanupillai, Jothi
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

RE: SolrJ Unicode problem

2010-05-28 Thread Tim Gilbert
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

Re: SolrJ Unicode problem

2010-05-28 Thread Hugh Cayless
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,

Re: SolrJ Unicode problem

2010-05-28 Thread Chris Hostetter
: 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