lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhang, Lisheng" <>
Subject RE: Search with accents
Date Tue, 01 Aug 2006 22:15:35 GMT

Have you used the same BrazilianAnalyzer when 

Best regards, Lisheng

-----Original Message-----
From: Eduardo S. Cordeiro []
Sent: Tuesday, August 01, 2006 1:40 PM
Subject: Search with accents

Hello there,

I have a brazilian portuguese index, which has been analyzed with
BrazilianAnalyzer. When searching words with accents, however, they're
not found -- for instance, if the index contains some text with the
word "maçã" and I search for that very word, I get no hits, but if I
search "maca" (which is another portuguese word) then the document
containing "maçã" is found.

I've seen posts in the archive indicating that I should use
ISOLatin1AccentFilter to handle this, but I don't quite see how:
should I leave indexation as it is and use this filter only for search
queries or should I apply it in both cases?

Thank you,
Eduardo Cordeiro

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message