;
> -------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
View this message in context:
http://www.nabble.com/search-with-accent-not-match-tp18848522p19986937.html
Sen
: http://www.blardone.org/2008/10/12/lucene-query-accented-character/
thta post appears to be specificly about a PHP function to convert UTF-8
characters to their HTML equivilents ... which doesn'trelaly seem relevant
to the posters question ...
: > I'm use FrenchAnalyzer for index
..
lumiere, lumieres ,lumiére,lumiéres
> but not lumière
>
> for a total match i must search "lumiere OR limière"
> but is not the best solution
>
--
View this message in context:
http://www.nabble.com/search-with-accent-not-match-tp18848522p19963381.html
Sent from the Lucene
t; the result is lumiere, lumieres
>>>> ,lumiére,lumiéres
>>>> but not lumière
>>>>
>>>> for a total match i must search "lumiere OR limière"
>>>> but is not the best solution
>>>>
>>>>
>>> -
>>> 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]
>
>
>
--
View this message in context:
http://www.nabble.com/search-with-accent-not-match-tp18848522p18869247.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You certainly can - just create your own Analyzer starting with a copy
of the French one you are using.
Then you just plug in the filter in the order you want it applied:
result = new ISOLatin1AccentFilter(result);
You have to decide for yourself where it will come - if you put it
before the
;> but is not the best solution
>>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/search-with-accent-not-match-tp18848522p18850615.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Check out org.apache.lucene.analysis.ISOLatin1AccentFilter
It will strip diacritics - just be sure to use it at index time and
query time to get what you want. Also, you will no longer be able to
differentiate between the two in your searching (rarely that important
in my opinion, but others c
iere, lumieres ,lumiére,lumiéres
but not lumière
for a total match i must search "lumiere OR limièez"
but is not the best solution
--
View this message in context:
http://www.nabble.com/search-with-accent-not-match-tp18848522p18848522.html
Sen