[Xapian-discuss] Accessing Query::Internal from SWIG

Olly Betts olly at survex.com
Thu Mar 30 15:00:10 BST 2006


On Thu, Mar 30, 2006 at 11:50:59AM +0100, James Aylett wrote:
> Internal classes don't get wrapped, but I can see why this would be
> useful. We'd need to have serialise()/unserialise() on Xapian::Query
> itself and wrap that - thoughts, Olly?

I've thought before that Query objects should be serialisable so they
can (for example) be stored on disk and recreated easily.  Possibly
other classes should be too, but a Query object is immutable once
created, so it's a particular obvious candidate.

Cheers,
    Olly



More information about the Xapian-discuss mailing list