add log class
[phinde.git] / data / config.php.dist
index 20bf208356fcac5c017d61609efa15766c5d114b..9c432f948946f11139956a49213975b59dcdfe29 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(
@@ -17,6 +19,8 @@ $GLOBALS['phinde'] = array(
     '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
@@ -25,5 +29,10 @@ $GLOBALS['phinde'] = array(
     //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