add snippetMaxPosWalk config var for adjusting max positions list walking in snippet generation

This commit is contained in:
Jean-Francois Dockes 2012-10-08 14:27:52 +02:00
parent d84481e38a
commit 33ee759701

View File

@ -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