Working on 2.2.6. One difference, for the first reference in search.php you have to look for this...
PHP Code:
if ($countmatches==0) {
eval("standarderror(\"".gettemplate("error_searchnoresults")."\");");
exit;
} else {
$counter=0;
$postdone = array();
$searchresultbits = '';
while ($searchresult=$DB_site->fetch_array($searchresults) and $counter++<$perpage) {
if ($postdone[$searchresult[postid]]) {
$counter--;
continue;
}
...and not the code shown in the install file.