[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG - TextIndexNG.py:1.2.2.42

Andreas Jung andreas@digicool.com
Fri, 22 Feb 2002 19:39:32 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG
In directory cvs.zope.org:/tmp/cvs-serv9809

Modified Files:
      Tag: ajung-textindexng-branch
	TextIndexNG.py 
Log Message:
minor changes


=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/TextIndexNG.py 1.2.2.41 => 1.2.2.42 ===
 
 
-
     def txIntersection(self, *sets):
         """ perform intersection of ResultSets """
 
@@ -802,11 +801,13 @@
         SP = Splitter.getSplitter( self.useSplitter )( data )
 
         for word in words:
+
+            # TODO: this only works with disabled stemmer support
+            # For enabled stemmer support we must stem all words
+            # from the splitter run and search for the stemed word !
             
             posLst = SP.indexes(word)        
             res.append( (word, IISet(posLst)) )
-      
-        for item in res: debug(item)
 
         return res