Custom Ferret analyzer

Hi!

I created a custom analyzer which replaces some characters (think ü ->
u)

I found out that it works OK, but for queries with * at the end, the
characters don’t get replaced! So ‘uber’ works, but ‘über*’ doesn’t !

Has anyone else noticed that?

thank you

Let me just further clarify that…

This is a bigger problem than you may think… The whole purpose of
implementing a custom analyzer with mapping filter is to make certain
letters ‘transparent’… they are, until you include the wildcard… at
that point the dream is shattered!

So obviously the custom analyzer is not used when there’s a wildcard in
the query… I could just run the same letter replacements manually on
the query, but that’s ugly and besides I’m now using a MappingFilter for
my BIG mapping table and the replacements on this big table are
implemented by a state machine inside the MappingFilter…

Can someone confirm this is a real problem and maybe let the author know
before he releases 1.0 ?

Thank you!

D. Krmpotic wrote:

Hi!

I created a custom analyzer which replaces some characters (think ü ->
u)

I found out that it works OK, but for queries with * at the end, the
characters don’t get replaced! So ‘uber’ works, but ‘über*’ doesn’t !

Has anyone else noticed that?

thank you