Hi Jie,
maybe there is a simple solution. When we used tomcat as servlet
container for solr I notices similar problems. Even with the hints from
the solr wiki about unicode and Tomcat, i wasn't able to fix this.
So we switched back to Jetty, querys like "q=allfields2%3A能力" are
reliable now.
with urlencoded + Chinese.
any suggestion?
thanks
jie
--
View this message in context:
http://lucene.472066.n3.nabble.com/POST-query-with-non-ASCII-to-solr-using-httpclient-wont-work-tp4032957p4033262.html
Sent from the Solr - User mailing list archive at Nabble.com.
:-) Otis, I also looked at solrJ source code, seems exactly what I am doing
here... but I probably will do what you suggested ... thanks
Jie
--
View this message in context:
http://lucene.472066.n3.nabble.com/POST-query-with-non-ASCII-to-solr-using-httpclient-wont-work-tp4032957p4032973.html
So, my conclusion:
> 1) solr (I am using 3.5) only accept decoded query string, it fails with
> url
> encoded query
> 2) httpclient will send out urlencoded string no matter what (there is no
> way seems to me to make it sends out request in POST without urlencoding
> the
> body
Jie
--
View this message in context:
http://lucene.472066.n3.nabble.com/POST-query-with-non-ASCII-to-solr-using-httpclient-wont-work-tp4032957.html
Sent from the Solr - User mailing list archive at Nabble.com.