A lot has been said already about accents / umlauts / ...
Did not find an answer to thisone tho.

I have a french website that has words like "améliorer"
When I do a search (through the default database service) with Search API for "ameliorer" I get NO results.
Searching for "améliorer" yields the result wanted.
This might be expected behavior, but I think it might be handier that searching for "ameliorer" yields the same results.

Is this even possible?
Can I hook into a preprocessing function like this:

function mycustomsite_search_preprocess($text){
        return transliteration_get($text,'');
}

Thanx a bunch!

Comments

sunchaser’s picture

one small *bump* maybe ? :/

marcoka’s picture

do you use solr? because you can use mappings
see "mapping-ISOLatin1Accent"

like

"ä" => "ae" 
"ö" => "oe" 
"ü" => "ue"
"ß" => "ss"
sunchaser’s picture

can't install solr on our server :/
no way to do some preprocessing like I proposed ? :/

drunken monkey’s picture

Issue summary: View changes
Status: Active » Fixed

When you have the Transliteration module enabled, you get a "Transliteration" processor for fixing exactly that.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.