I'm working on a J2E application with an Hibernate Search / Lucene intégration. I index Documents (and other entities) and want to make accent insensitive search on it (content and classes' fields).
I'm using the FrenchAnalyzer which is seems to be Case insensitive (that's good), but i'm surprised to see he doesn't do the same with accent...
After some search and documentation reading, I understand I have to implement my own analyzer, based on the French one and include a filter (the ASCIIFoldingFilter seems to be the one I need).
If I'm right, this means this customAnalyzer have to be applied on the Class index and on the queries. The result will be an index without accents.
Is that the good way todo ? Is there no param or conf attribute for the FrenchAnalyzer to ignore accents ?
thanks