[Zope-CMF] Bug in TextIndexNG?
Rainer Thaden
Rainer Thaden <thadi@gmx.de>
Fri, 13 Jun 2003 15:45:16 +0200
Hi,
i am using TextIndexNG 1.09 in a Zope/CMF Site and have a problem
using certain keywords:
I use
Zope Version (unreleased version, python 2.1.3, linux2)
Python Version 2.1.3+ (#1, Mar 21 2003, 23:20:17) [GCC 3.2.3 20030316 (Debian prerelease)]
System Platform linux2
I have a SearchableText index in the CMF-portal_catalog (CMF 1.3.1)
and when i use certain keywords (e.g. 'bla*' or 't*') i get the following
traceback:
Traceback (innermost last):
8<-- first part snipped -->8
Module Products.CMFCore.FSPythonScript, line 124, in _exec
- __traceback_info__: ({'script': <FSPythonScript at /CMFTest/ITA/doFormSearch>, 'context': <CMFSite instance at 911e848>, 'container': <CMFSite instance at 911e848>, 'traverse_subpath': []}, (), {'REQUEST': <HTTPRequest, URL=http://www.akustik.rwth-aachen.de:9673/CMFTest/ITA/search>}, None)
Module Script (Python), line 39, in doFormSearch
Module Products.CMFCore.CatalogTool, line 214, in searchResults
Module Products.ZCatalog.ZCatalog, line 619, in searchResults
Module Products.ZCatalog.Catalog, line 732, in searchResults
Module Products.ZCatalog.Catalog, line 480, in search
Module Products.TextIndexNG.TextIndexNG, line 464, in _apply_index
Module Products.TextIndexNG.ParseTree, line 62, in executeQuery
Module Products.TextIndexNG.TextIndexNG, line 573, in lookupWordsByTruncation
Module Products.TextIndexNG.TextIndexNG, line 511, in _lookup
Module Products.TextIndexNG.storages.StandardStorage, line 97, in getDocumentIdsForWordId
KeyError: 922883852
Here the settings for the index:
Indexed attributes SearchableText
Default encoding iso-8859-15
Stemmer disabled
Splitter: casefolding enabled
Splitter: index single characters disabled
Splitter: max. length of splitted words 64
Splitter: separator characters .+-_@
Default query parser PyQueryParser
Stopwords None
Normalizer None
Compressed lists disabled
Use converters enabled
Near distance 5
Similarity search disabled
Debug mode off
Any idea what's wrong?
--
Regards,
Rainer mailto:thadi@gmx.de