Make title configurable
[phinde.git] / data / config.php.dist
index dc1cff85131b3c524121e1c4607df2871851fe80..5c095caeb409b49cfed1efdc1cd70bb2929639d3 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 $GLOBALS['phinde'] = array(
+    //name of the app in the frontend
+    'apptitle' => 'website search',
     'elasticsearch' => 'http://127.0.0.1:9200/phinde/',
     //whitelist of domains that shall be crawled
     'domains' => array(
@@ -10,6 +12,9 @@ $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',
@@ -19,5 +24,13 @@ $GLOBALS['phinde'] = array(
     //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',
 );
 ?>
\ No newline at end of file