Commits

Matt Chaput committed 3cc3d07

Removed redundant method.

  • Participants
  • Parent commits 4d0fdd4

Comments (0)

Files changed (1)

src/whoosh/codec/whoosh2.py

         # Add to the index
         self.vindex.add((self.docnum, fieldname), startoffset)
 
-    def add_vector_matcher(self, fieldname, fieldobj, vmatcher):
-        def readitems():
-            while vmatcher.is_active():
-                text = vmatcher.id()
-                weight = vmatcher.weight()
-                valuestring = vmatcher.value()
-                yield (text, None, weight, valuestring)
-                vmatcher.next()
-        self.add_vector_items(fieldname, fieldobj, readitems())
-
     def finish_doc(self):
         self.stored.add(self.storedfields)
         self.storedfields = None