9bd10e4a6d3eb3ff423cef61811aafcb6822c10c
[phinde.git] / data / config.php.dist
1 <?php
2 $GLOBALS['phinde'] = array(
3     //name of the app in the frontend
4     'apptitle' => 'website search',
5     'elasticsearch' => 'http://127.0.0.1:9200/phinde/',
6     //whitelist of domains that shall be crawled
7     'domains' => array(
8         'www.example.org',
9         'test.example.org'
10     ),
11     //list of URL beginnings that should be ignored
12     'blacklist' => array(
13         'http://bad.example.org/'
14     ),
15     //list of regexes for URLs that should not be crawled
16     'crawlBlacklist' => array(
17     ),
18     //verbose output
19     'debug' => true,
20     //time in seconds after which URLs may be re-indexed
21     'refreshtime' => 86400,
22     //if directly linked URLs shall be indexed, even if they are
23     // on a non-whitelisted domain
24     'indexNonAllowed' => true,
25     //prefix for the gearman queue names, needed when multiple instances
26     //are running in parallel
27     'queuePrefix' => '',
28     //show the full text content in the results
29     // useful for chat logs in which every line is its own document
30     'showFullContent' => false,
31     //search result "hit" template file
32     'hitTemplate' => 'hit.htm',
33     //sidebar help text. empty to disable
34     'sidebarinclude' => 'search/sidebar-searchtips.htm',
35     //default sort order: "score" or "date"
36     'defaultSort' => 'score',
37     //database for PuSH subscriptions
38     'db_dsn' => 'mysql:host=localhost;dbname=phinde',
39     'db_user' => 'FIXME',
40     'db_pass' => 'FIXME',
41 );
42 ?>