Xapian::QueryParser (was Re: [Xapian-devel] Re: [Xapian-commits] Changes in xapian/xapian-applications/queryserver/ xapian/xapian-applications/queryserver/source/)

James Aylett james-xapian at tartarus.org
Thu May 13 18:33:58 BST 2004


On Thu, May 13, 2004 at 06:21:37PM +0100, Olly Betts wrote:

> > I'm doing a fair amount of hacking on the Perl bindings atm, and it
> > occurs to me that this would be a useful feature, even if I have to do
> > it in the perl wrapper.
> 
> It would be nice to have it wrapped too.  Having it in a separate directory
> is rather an arbitrary historical thing.

Well, it should be an a separate directory still. It's just it
probably shouldn't be in 'extra', but 'queryparser' or something.
 
> > IIrc, the python bindings do something similar - do they just use
> > ::QueryParser under the hood?
> 
> I'd imagine so.

Indeed, as do any other SWIG bindings. They're in the same module as
the rest of Xapian (and as the stemming class), which is perhaps not
quite right. But SWIG is a pain to get working across multiple
modules, so I'm not even going to think about trying.

Java doesn't have wrappers for QueryParser. I guess SWIG just makes it
an awful lot easier.

J

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




More information about the Xapian-devel mailing list