summaryrefslogtreecommitdiff
path: root/inc/fulltext.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/fulltext.php')
-rw-r--r--inc/fulltext.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/fulltext.php b/inc/fulltext.php
index 76dd01d1f..142862529 100644
--- a/inc/fulltext.php
+++ b/inc/fulltext.php
@@ -9,6 +9,11 @@
if(!defined('DOKU_INC')) die('meh.');
/**
+ * create snippets for the first few results only
+ */
+if(!defined('FT_SNIPPET_NUMBER')) define('FT_SNIPPET_NUMBER',15);
+
+/**
* The fulltext search
*
* Returns a list of matching documents for the given query