[Xapian-discuss] Search::Xapian::BM25Weight constructor problem

Olly Betts olly at survex.com
Mon Oct 2 11:38:59 BST 2006


On Mon, Oct 02, 2006 at 12:08:58PM +0200, Markus W?rle wrote:
> 	Usage: Search::Xapian::BM25Weight::new1(THIS) at 
> /usr/local/lib/perl/5.8.7/Search/Xapian/BM25Weight.pm line 19.

Could you try the attached patch?

Cheers,
    Olly
-------------- next part --------------
Index: XS/BM25Weight.xs
===================================================================
--- XS/BM25Weight.xs	(revision 63)
+++ XS/BM25Weight.xs	(working copy)
@@ -3,14 +3,14 @@
 PROTOTYPES: ENABLE
 
 BM25Weight *
-BM25Weight::new1()
+new1()
     CODE:
         RETVAL = new BM25Weight();
     OUTPUT:
         RETVAL
 
 BM25Weight *
-BM25Weight::new2(k1, k2, k3, b, min_normlen)
+new2(k1, k2, k3, b, min_normlen)
     double	k1
     double	k2
     double	k3


More information about the Xapian-discuss mailing list