Commits

Matt Chaput committed 53838a4

Fixed call to Searcher.more_like (was missing the fieldname parameter).

  • Participants
  • Parent commits d1efc1a

Comments (0)

Files changed (1)

File src/whoosh/searching.py

         :param normalize: whether to normalize term weights.
         """
         
-        return self.searcher.more_like(self.docnum, text=text, top=top,
-                                       numterms=numterms, model=model,
+        return self.searcher.more_like(self.docnum, fieldname, text=text,
+                                       top=top, numterms=numterms, model=model,
                                        normalize=normalize)
     
     def __repr__(self):