Hi there,
do I have forgotten any search settings if I can’t see all of the search results? Since Kirby v35 I have been working almost exclusively with blocks & layouts. Currently I am using the standard settings and have no restrictions on field or words.
<?php
return function ($site) {
$query = get('q');
$results = $site->search($query);
$results = $results->paginate(20);
return [
'query' => $query,
'results' => $results,
'pagination' => $results->pagination()
];
};
What exactly is missing from the search results?
Some of the pages are missing in the result. They include the search phrase, are visible and using the same template as every page (default) but they are not listed.
Does the search phrase contain special characters or is this independent of whether or not this is the case?
I made some tests, u’re right - on the half. There are a lot of umlauts in the text. If i search for a term with an “ö” i only get results if the headline includes the term, but not in a block (text for example). Terms without an umlaut will find in every position.
You would have to store your blocks with option pretty: true