9170a9f4969940c41a372d03b5e976764034dd4e
[phinde.git] / data / config.php.dist
1 <?php
2 $GLOBALS['phinde'] = array(
3     'elasticsearch' => 'http://127.0.0.1:9200/phinde/',
4     //whitelist of domains that shall be crawled
5     'domains' => array(
6         'www.example.org',
7         'test.example.org'
8     ),
9     //list of URL beginnings that should be ignored
10     'blacklist' => array(
11         'http://bad.example.org/'
12     ),
13     //list of regexes for URLs that should not be crawled
14     'crawlBlacklist' => array(
15     ),
16     //list of URLs that should be subscribed to with PubSubHubbub
17     'subscriptions' => array(
18         'http://www.example.org/feed',
19     ),
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 );
34 ?>