Re: Lucene search fails for japanese characters in URL

2008-09-18 Thread 叶双明
I still suggest you to setup and test a standalone IndexSearcher though you believe it should work. If it work, and tomcat get the right parameter, sorry, i don't know what is the problem. 2008/9/18 anandsarwade <[EMAIL PROTECTED]> > > This Luke tool seems to be pretty cool. I have installed and

Re: Lucene search fails for japanese characters in URL

2008-09-18 Thread anandsarwade
This Luke tool seems to be pretty cool. I have installed and its very easy to find out the indexes and what is being stored. thanks for this info. I have tried in tomcat and things works fine without issues. Default operator is OR in my case. i havent tried with setting up stanalone indexsearcher

Re: Lucene search fails for japanese characters in URL

2008-09-18 Thread 叶双明
And, you can use Tool luke to see what is in the index indeed. what is in the Query which put into IndexSearcher.search(), what is the defaultOperatoer of QueryParser. Can you get hits by setup a simple IndexSearcher, no through tomcat? 2008/9/18 anandsarwade <[EMAIL PROTECTED]> > > Hi, > > I d

Re: Lucene search fails for japanese characters in URL

2008-09-17 Thread anandsarwade
Hi, I do get the same string from Mysql and also in servlet request. I could observe the actaul string in eclipse while debugging. it is stored as UTF-8 format so retrievel is coming as stored. plz let me know if iam not clear 叶双明 wrote: > > You must trace the string in each step! > Importan

Re: Lucene search fails for japanese characters in URL

2008-09-17 Thread 叶双明
You must trace the string in each step! Important step is get string from MYSQL and get parameter in servlet, please check it, do you get the right string? Chinese has the same problem too. 2008/9/17 anandsarwade <[EMAIL PROTECTED]> > > Hello Jimi, > > Thanks a lot for your valuable suggestion.

RE: Lucene search fails for japanese characters in URL

2008-09-17 Thread anandsarwade
Hello Jimi, Thanks a lot for your valuable suggestion. I am using tomcat 5 . As per your suggestions ,checked the server.xml but found that no URIEncoding was set. I have set now and to my great relief :-) i could see the Lucene results on my browser for japanese string with request objects in

RE: Lucene search fails for japanese characters in URL

2008-09-17 Thread Jimi Hullegård
What webserver are you using? For example, with Tomcat, it could be because of the setting URIEncoding in server.xml. http://tomcat.apache.org/tomcat-5.5-doc/config/http.html /Jimi mogul | jimi hullegård | system developer | hudiksvallsgatan 4, 113 30 stockholm sweden | +46 8 506 66 172 | +46