You have to write a special analyzer that include an accent filter.
Then use this analyzer for both indexing and querying.

-----Message d'origine-----
De : Stephane James Vaucher [mailto:[EMAIL PROTECTED]
Envoy� : lundi 10 mai 2004 10:05
� : Lucene Users List
Objet : Analysis of wildcard queries


I've seen this:
http://www.jguru.com/faq/view.jsp?EID=538312

I've seen in the code that there is a method to set lowercasing, but I
need to remove accentuated chars as well. Any suggestions as to which is
preferable, preprocessing the input or subclassing a QueryParser and
redefining getWildcardQuery?

cheers,
sv


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to