<?php } else { include "include/error.php"; ?> </html> <?php return; } $prefix = ""; if (isset($_REQUEST['prefix'])) { $prefix = $_REQUEST['prefix']; } $r = new Results($results, $urls); // only get the documents in the slice, after grouping $r->groupize($prefix, $env, $startdoc, $indri_param['page_docs']); $doc_end = indri_timer(); // prune the front of the list $groupings = array_slice($r->groupings, $startdoc); $query_time = $query_end - $start_time; $doc_time = $doc_end - $query_end; $total_time = $doc_end - $start_time; ?> <div id="content"> <?php include "include/header.php"; ?> <?php $cleanQ = $_REQUEST['query'];