<?php
$GLOBALS['phinde'] = array(
+ //name of the app in the frontend
+ 'apptitle' => 'website search',
'elasticsearch' => 'http://127.0.0.1:9200/phinde/',
//whitelist of domains that shall be crawled
'domains' => array(
'subscriptions' => array(
'http://www.example.org/feed',
),
+ //verbose output
+ 'debug' => true,
//time in seconds after which URLs may be re-indexed
'refreshtime' => 86400,
//if directly linked URLs shall be indexed, even if they are
'showFullContent' => false,
//search result "hit" template file
'hitTemplate' => 'hit.htm',
+ //default sort order: "score" or "date"
+ 'defaultSort' => 'score',
);
?>
\ No newline at end of file