Global Search and accents

Global Search and accents

by Murilo Timo Neto -
Number of replies: 1

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?

https://tracker.moodle.org/browse/MDL-58542

Average of ratings: -
In reply to Murilo Timo Neto

Re: Global Search and accents

by Michal Pomykacz -

Hi Murilo!

where (or which file) exactly did you place that filters?

Thanks!