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

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


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

Modified Files:
      Tag: zope-2_3-branch
	UnTextIndex.py 
Log Message:
Changed default query method back to 'OR' by popular request.  ;-)


--- Updated File UnTextIndex.py in package Zope2 --
--- UnTextIndex.py	2001/03/20 00:47:31	1.33.2.9
+++ UnTextIndex.py	2001/03/21 15:24:56	1.33.2.10
@@ -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