X-Git-Url: https://git.cweiske.de/phinde.git/blobdiff_plain/45638a5de3c8c05c1792f8a3ab93acb11a2c1a86..f98e891b454e5677bdf61f476e366b01af713b50:/data/config.php.dist diff --git a/data/config.php.dist b/data/config.php.dist index dc1cff8..19a3221 100644 --- a/data/config.php.dist +++ b/data/config.php.dist @@ -1,5 +1,7 @@ 'website search', 'elasticsearch' => 'http://127.0.0.1:9200/phinde/', //whitelist of domains that shall be crawled 'domains' => array( @@ -10,14 +12,29 @@ $GLOBALS['phinde'] = array( 'blacklist' => array( 'http://bad.example.org/' ), + //list of regexes for URLs that should not be crawled + 'crawlBlacklist' => array( + ), //list of URLs that should be subscribed to with PubSubHubbub '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 // on a non-whitelisted domain 'indexNonAllowed' => true, + //prefix for the gearman queue names, needed when multiple instances + //are running in parallel + 'queuePrefix' => '', + //show the full text content in the results + // useful for chat logs in which every line is its own document + 'showFullContent' => false, + //search result "hit" template file + 'hitTemplate' => 'hit.htm', + //default sort order: "score" or "date" + 'defaultSort' => 'score', ); ?> \ No newline at end of file