Do not break when searching for slashes
[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     //needed for websub
6     'baseurl' => 'http://phinde.example.org/',
7     'elasticsearch' => 'http://127.0.0.1:9200/phinde/',
8     //whitelist of domains that shall be crawled
9     'domains' => array(
10         'www.example.org',
11         'test.example.org'
12     ),
13     //list of regexes for URLs that should not be crawled
14     'crawlBlacklist' => array(
15     ),
16     //modify URLs with regex
17     'urlRewrites' => array(
18         // '^http://example.org/' => 'https://example.org/',
19     ),
20     //verbose output
21     'debug' => true,
22     //full path to log file
23     'logfile' => null,
24     //time in seconds after which URLs may be re-indexed
25     'refreshtime' => 86400,
26     //if directly linked URLs shall be indexed, even if they are
27     // on a non-whitelisted domain
28     'indexNonAllowed' => true,
29     //prefix for the gearman queue names, needed when multiple instances
30     //are running in parallel
31     'queuePrefix' => '',
32     //show the full text content in the results
33     // useful for chat logs in which every line is its own document
34     'showFullContent' => false,
35     //search result "hit" template file
36     'hitTemplate' => 'hit.htm',
37     //sidebar help text. empty to disable
38     'sidebarinclude' => 'search/sidebar-searchtips.htm',
39     //default sort order: "score" or "date"
40     'defaultSort' => 'score',
41     //database for PuSH subscriptions
42     'db_dsn' => 'mysql:host=localhost;dbname=phinde',
43     'db_user' => 'FIXME',
44     'db_pass' => 'FIXME',
45 );
46 ?>