From a3b0b298e6c5f5ced9e99dc067e809fece049e66 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Thu, 2 May 2002 21:59:08 +0000 Subject: Boost the list of stop words, by merging in the little list Jeremy just checked into Zope's ZCTextIndex branch. This reduces the size of the .chm file by about 100KB. --- Doc/tools/prechm.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Doc/tools/prechm.py b/Doc/tools/prechm.py index 2eb10e2..04d49c3 100644 --- a/Doc/tools/prechm.py +++ b/Doc/tools/prechm.py @@ -117,13 +117,15 @@ object_sitemap = '''\ # Note that "and", "or", "not" and "near" are operators in the search # language, so no point indexing them even if we wanted to. stop_list = ''' -a an and -is -near -not -of -or -the +a and are as at +be but by +for +if in into is it +near no not +of on or +such +that the their then there these they this to +was will with ''' # s is a string or None. If None or empty, return None. Else tack '.html' -- cgit v0.12