Re: solrj Unicode queries don't return results

2010-06-08 Thread Lance Norskog
Also, you may need this system property in your client app: java -Dfile.encoding=utf-8 .. On Tue, Jun 8, 2010 at 4:52 PM, jlist9 wrote: > Ah, I didn't know this. This should be much simpler. Thank you very much! > > On Tue, Jun 8, 2010 at 12:57 AM, Ahmet Arslan wrote: >>> Meanwhile, I'd lik

Re: solrj Unicode queries don't return results

2010-06-08 Thread jlist9
Ah, I didn't know this. This should be much simpler. Thank you very much! On Tue, Jun 8, 2010 at 12:57 AM, Ahmet Arslan wrote: >> Meanwhile, I'd like to try using POST, but I didn't find >> information >> about how to do this. Could someone point me to a link to >> some >> sample code? > > > you

Re: solrj Unicode queries don't return results

2010-06-08 Thread Ahmet Arslan
> Meanwhile, I'd like to try using POST, but I didn't find > information > about how to do this. Could someone point me to a link to > some > sample code? you can pass METHOD.POST to query method of SolrServer. public QueryResponse query(SolrParams params, METHOD method)

Re: solrj Unicode queries don't return results

2010-06-08 Thread jlist9
I was using SolrQuery. Now I'm switching to QueryRequest. Hope this works. Thanks! On Mon, Jun 7, 2010 at 11:26 PM, jlist9 wrote: > Thank you for the reply! I'm using Tomcat 6.0.20. I read the page. > I think you meant setting URIEncoding for the connector: > > > I tried this but it still doesn'

Re: solrj Unicode queries don't return results

2010-06-07 Thread jlist9
Thank you for the reply! I'm using Tomcat 6.0.20. I read the page. I think you meant setting URIEncoding for the connector: I tried this but it still doesn't work, while the Python client still works fine. Because the Python client works fine, I tend to think that solrj is not encoding the URL pr

RE: solrj Unicode queries don't return results

2010-06-07 Thread Tim Gilbert
I had the same problem a while back. You didn't mention which application server you are using (if any) but some application servers have problems with UTF-8 queries and GET. Tomcat has a well documented solution http://wiki.apache.org/solr/SolrTomcat (near the bottom), I recently experienced prob