From 33ee75970143017e0d1b2878215e4999e0e937e7 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Mon, 8 Oct 2012 14:27:52 +0200 Subject: [PATCH] add snippetMaxPosWalk config var for adjusting max positions list walking in snippet generation --- src/sampleconf/recoll.conf.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sampleconf/recoll.conf.in b/src/sampleconf/recoll.conf.in index ba0c4bb1..d221659b 100644 --- a/src/sampleconf/recoll.conf.in +++ b/src/sampleconf/recoll.conf.in @@ -247,6 +247,12 @@ webcachemaxmbs = 40 # really no sense in caching offsets for small files. The default is 5 MB. #mboxcacheminmbs = 5 +# Maximum number of positions we walk while populating a snippet for the +# result list. The default of 1 000 000 may be insufficient for big +# documents, the consequence would be snippets with possibly +# meaning-altering missing words. +snippetMaxPosWalk = 1000000 + # You could specify different parameters for a subdirectory like this: #[~/hungariandocs/plain] #defaultcharset = iso-8859-2