[Xapian-tickets] [Xapian] #206: Implement simple serialization for Xapian::Document and Xapian::Query

Xapian nobody at xapian.org
Fri Feb 6 23:21:16 GMT 2009


#206: Implement simple serialization for Xapian::Document and Xapian::Query
----------------------------+-----------------------------------------------
 Reporter:  armin.ronacher  |        Owner:  richard  
     Type:  enhancement     |       Status:  assigned 
 Priority:  normal          |    Milestone:  1.1.1    
Component:  Library API     |      Version:  SVN trunk
 Severity:  minor           |   Resolution:           
 Keywords:                  |    Blockedby:  295      
 Platform:  All             |     Blocking:           
----------------------------+-----------------------------------------------
Changes (by richard):

  * owner:  olly => richard
  * status:  new => assigned
  * blockedby:  => 295


Comment:

 Added patches implementing this, and testing it (just with the python
 bindings, though).

 Current patch won't support serialising queries which use PostingSources,
 but I think that's a reasonable restriction for now.  To support it, we'll
 need to pass an extra argument to the unserialise method giving the list
 of PostingSources available to be unserialised to, and add ways to
 serialise and clone Posting sources.  This is implemented in the patch
 attached to ticket #295, so I'm adding a dependency on that ticket for
 this bug.  I'm planning to implement some C++ level tests for this, and
 then apply the patch, since I could do with the feature for some upcoming
 work.

-- 
Ticket URL: <http://trac.xapian.org/ticket/206#comment:7>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list