X-Git-Url: https://git.cweiske.de/phinde.git/blobdiff_plain/8dc6e4a159dce99b7b1e98ba71e0a9ad487a1dac..25de37bc77d427436417ea244c134b6531950870:/data/config.php.dist diff --git a/data/config.php.dist b/data/config.php.dist index 4c6a14f..fff65ce 100644 --- a/data/config.php.dist +++ b/data/config.php.dist @@ -1,9 +1,40 @@ 'website search', + //needed for websub + 'baseurl' => 'http://phinde.example.org/', 'elasticsearch' => 'http://127.0.0.1:9200/phinde/', + //whitelist of domains that shall be crawled 'domains' => array( 'www.example.org', 'test.example.org' - ) + ), + //list of regexes for URLs that should not be crawled + 'crawlBlacklist' => array( + ), + //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', + //sidebar help text. empty to disable + 'sidebarinclude' => 'search/sidebar-searchtips.htm', + //default sort order: "score" or "date" + 'defaultSort' => 'score', + //database for PuSH subscriptions + 'db_dsn' => 'mysql:host=localhost;dbname=phinde', + 'db_user' => 'FIXME', + 'db_pass' => 'FIXME', ); -?> \ No newline at end of file +?>