From bd0293e7406f93a8897c471193b69413b78b6236 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 28 Feb 2010 12:31:37 +0100 Subject: moved number of search result snippets to a define --- inc/fulltext.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inc/fulltext.php') diff --git a/inc/fulltext.php b/inc/fulltext.php index 94c68d675..4f4dc1bfd 100644 --- a/inc/fulltext.php +++ b/inc/fulltext.php @@ -9,6 +9,10 @@ if(!defined('DOKU_INC')) die('meh.'); require_once(DOKU_INC.'inc/indexer.php'); +/** + * create snippets for the first few results only + */ +if(!defined('FT_SNIPPET_NUMBER')) define('FT_SNIPPET_NUMBER',15); /** * The fulltext search -- cgit v1.2.3