[Zope-CVS] CVS: Products/ZCTextIndex - IIndex.py:1.8 ILexicon.py:1.4 QueryParser.py:1.8
Guido van Rossum
guido@python.org
Wed, 22 May 2002 15:35:42 -0400
Update of /cvs-repository/Products/ZCTextIndex
In directory cvs.zope.org:/tmp/cvs-serv1581
Modified Files:
IIndex.py ILexicon.py QueryParser.py
Log Message:
Follow-up changes for complete globbing.
=== Products/ZCTextIndex/IIndex.py 1.7 => 1.8 ===
starting with "foo".
- NOTE: Currently only a single trailing * is supported.
-
Return an IIBTree mapping docid to score.
"""
=== Products/ZCTextIndex/ILexicon.py 1.3 => 1.4 ===
e.g. 'foo*' meaning anything starting with 'foo'.
- NOTE: Currently only a single trailing * is supported.
-
Return the wids for all words in the lexicon that match the
pattern.
"""
=== Products/ZCTextIndex/QueryParser.py 1.7 => 1.8 ===
- a leading hyphen implies NOT, e.g. ``foo -bar''
- these can be combined, e.g. ``foo -"foo bar"'' or ``foo -foo-bar''
-- a trailing * means globbing (i.e. prefix search), e.g. ``foo*''
+- * and ? are used for globbing (i.e. prefix search), e.g. ``foo*''
"""
import re