[Xapian-discuss] Query::Query() in PHP, also QueryParser::prefixes

James Aylett james-xapian@tartarus.org
Mon, 14 Jun 2004 11:00:00 +0100


On Mon, Jun 14, 2004 at 02:49:47AM +0100, Olly Betts wrote:

> > Didn't seem to be - it had -noproxy to the swig call. If I remove
> > this, the old-style way of doing things goes away entirely (not quite
> > what I expected), and the OO mechanism looks like it might work - but
> > then segfaults. :-(
> 
> Have you (or anyone else) got anywhere with this?

Haven't had time, and won't until at least July now :-(

> The overloading problem with open has now been reported by another user
> in bugzilla:
> 
> http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=32

That would be a fairly easy fix, although the syntax would then be
unpleasant. Indeed, I think I committed half - it's in my local copy,
but isn't in the diff from the trunk to that.

I renamed the writable one to open_writable. Should be obvious how to
rename open() r/o to xapian_open() or something ...

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james@tartarus.org                               uncertaintydivision.org