A perhaps simplistic option would be to map accented letters to their
unaccented versions using either the ASCII Folding Filter or the ICU
Folding Filter.

- Andy -

On Thu, Mar 16, 2023 at 10:36 AM Luoni Cornelia <cornelia.lu...@salt.ch>
wrote:

> Hi,
>
>
>
> I'm using Solr for a search in a name database and get the best results
> using the standard query parser with a phonetic search. The only downside
> of it is that the phonetic search - as the name says - looks for matches
> that sound similar. Therefore, if there is a typo in a letter with an
> accent that changes the pronunciation, there is no match.
>
>
>
> Examples:
>
> - Search with Muller doesn't find Müller
>
> - Search with Francois doesn't find François
>
>
>
> I'm using the Solr UI for my tests, setting q=phonetic_full_name:Francois
> for example. I have also tried to do a fuzzy search adding a tilde to the
> name (phonetic_full_name:Francois~), but that didn't change the result.
>
>
>
> Is there a way to use Solr's phonetic search but somehow adding a mapping
> for a list of accented and non-accented letters which would consider them
> equally (ç<->c, ü<->u, è<->e, ñ<->n etc)?
>
>
>
> Thanks for any tips.
>
>

Reply via email to