Searching
Kirby comes with a native search function that’s easy to invoke, but which has a few limitations:
- accented letters are not normalized when matching strings, so “etranger” will not match “L’étranger”;
- you have little control over how complex fields are serialized for matching;
- there’s no index — pages are searched on the fly, which on large websites can become slow.
You can supply your own implementation of the search component with tweaks for the first two shortcomings. For example, a couple of calls to transliterator_transliterate('Any-Latin; Latin-ASCII', $str) in the right spots normalizes these accented letters to their base characters. But in general, fixes of this kind entail maintaining a close duplicate of the original implementation.
A better solution is a dedicated plugin, among which the SQLite-based Kirby Loupe is the easiest to set up. Justus Kraft has a tutorial for it.