If you have Tomcat it defaults to iso-8859-1 as character encoding i
think, try to recode your input to utf-8 before feeding it to lucene.
s = new String(s.getBytes(),"UTF-8");
Karl
On 10. nov. 2005, at 04.10, Hai Do Thanh wrote:
Thanks for your reply :)
I have already debugged the input s
Thanks for your reply :)
I have already debugged the input string s. As I said
before, s is a string which is sent by client through
the "doPost()" method of servlet
At first, I thought that the analyzer is the cause of
the problem and that it lowercase all leters. However,
then, I have also kno
Sounds very strange, have you debugged the input string s? Where does
it come from?
Karl
On 9. nov. 2005, at 05.00, Hai Do Thanh wrote:
Dear all,
I really appreciate your work on Lucene. It is
apparently a helpful API for my project on indexed
Document searching. On the whole, It works prop
Dear all,
I really appreciate your work on Lucene. It is
apparently a helpful API for my project on indexed
Document searching. On the whole, It works properly
and perfectly.
However, there is a problem when I try to query what I
have indexed with the keyword received through
internet using Servl