> With this configuration, the title field is highlighted > only when there's a > perfect match, i.e., the quoted query equals the title > content (f.i., > q="Terrain sehloul" allows highlighting the entire title > containing "Terrain > sehloul",
Exactly. There should be a *perfect* match for string typed fields to return snippets. > but q=Terrain sehloul doesn't enable to highlight > this title. Is > there a solution to this problem? Escaping (using backslash) whitespace can solve this problem. q=Terrain\ sehloul Now i clearly understand you. You have a title field containing 'Terrain sehloul' and you want to get highlighting with the query Terrain. You cannot do that with type="string". You need a tokenized field type in your case.