[Zope-Checkins] CVS: Zope2 - UnTextIndex.py:1.42

Chris McDonough chrism@digicool.com
Wed, 21 Mar 2001 10:25:52 -0500 (EST)


Update of /cvs-repository/Zope2/lib/python/SearchIndex
In directory korak:/home/chrism/sandboxes/TrunkBranch/lib/python/SearchIndex

Modified Files:
	UnTextIndex.py 
Log Message:
Changed default query operator back to 'OR'.


--- Updated File UnTextIndex.py in package Zope2 --
--- UnTextIndex.py	2001/03/20 00:50:00	1.41
+++ UnTextIndex.py	2001/03/21 15:25:51	1.42
@@ -528,7 +528,7 @@
 
 
 
-    def query(self, s, default_operator=And, ws=(string.whitespace,)):
+    def query(self, s, default_operator=Or, ws=(string.whitespace,)):
         """ This is called by TextIndexes.  A 'query term' which is a
         string 's' is passed in, along with an index object.  s is
         parsed, then the wildcards are parsed, then something is