General developer forum

Global Search and accents

Picture of Murilo Timo Neto
Global Search and accents

Hello everyone

I wanted to help with the development of the global search for moodle,
I'm having problems with accents.

The global search is not ignoring accents,

The search for fisica should also return the words Física or fisica
Or the search for joao should return joão

I believe the best way to resolve this is by adding the filters to the text fields:

            <Filter class = "solr.LowerCaseFilterFactory" />
            <Filter class = "solr.ASCIIFoldingFilterFactory" />

Is this a good solution?

Or is there any simpler solution in solr configuration?

Average of ratings: -