2 $GLOBALS['phinde'] = array(
3 //name of the app in the frontend
4 'apptitle' => 'website search',
6 'baseurl' => 'http://phinde.example.org/',
7 'elasticsearch' => 'http://127.0.0.1:9200/phinde/',
8 //whitelist of domains that shall be crawled
13 //list of regexes for URLs that should not be crawled
14 'crawlBlacklist' => array(
18 //time in seconds after which URLs may be re-indexed
19 'refreshtime' => 86400,
20 //if directly linked URLs shall be indexed, even if they are
21 // on a non-whitelisted domain
22 'indexNonAllowed' => true,
23 //prefix for the gearman queue names, needed when multiple instances
24 //are running in parallel
26 //show the full text content in the results
27 // useful for chat logs in which every line is its own document
28 'showFullContent' => false,
29 //search result "hit" template file
30 'hitTemplate' => 'hit.htm',
31 //sidebar help text. empty to disable
32 'sidebarinclude' => 'search/sidebar-searchtips.htm',
33 //default sort order: "score" or "date"
34 'defaultSort' => 'score',
35 //database for PuSH subscriptions
36 'db_dsn' => 'mysql:host=localhost;dbname=phinde',