changeset 5028:aafcd2b5597a

Xapian2009: Xapian Index.termpositions was removed.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Thu, 20 Aug 2009 19:42:38 +0200
parents f531ccc68313
children 3d9fe8725332
files MoinMoin/search/Xapian/indexing.py
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/Xapian/indexing.py	Thu Aug 20 19:28:34 2009 +0200
+++ b/MoinMoin/search/Xapian/indexing.py	Thu Aug 20 19:42:38 2009 +0200
@@ -206,14 +206,6 @@
 
         connection.close()
 
-    def termpositions(self, uid, term):
-        """ Fetches all positions of a term in a document
-
-        @param uid: document id of the item in the xapian index
-        @param term: the term as a string
-        """
-        raise NotImplementedError, "XXX xappy doesn't require this"
-
     def _index_file(self, request, writer, filename, mode='update'):
         """ index a file as it were a page named pagename
             Assumes that the write lock is acquired