[Xapian-tickets] [Xapian] #739: Expose a lazy Xapian::Document() attached to a database

Xapian nobody at xapian.org
Thu Dec 15 21:29:07 GMT 2016


#739: Expose a lazy Xapian::Document() attached to a database
-------------------------+---------------------------
 Reporter:  Kronuz       |             Owner:  olly
     Type:  enhancement  |            Status:  closed
 Priority:  normal       |         Milestone:  1.4.2
Component:  Other        |           Version:
 Severity:  normal       |        Resolution:  fixed
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+---------------------------
Changes (by olly):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Backported to branch:RELEASE/1.4 in
 26f4a06b5bf3ac4bbd0d326b76f1b17608951b35.

 When you call `Database::get_document()` on a remote database, the client
 requests the server send the document information at that point (and waits
 for it to be received).  That could be made lazier, but it's rather more
 work than just exposing an existing flag, and needs careful thought in
 case the lazy fetch could end up happening in the middle of another remote
 backend message exchange, as the protocol isn't multiplexed.

 If you need lazier remote documents too, I think let's handle that as a
 separate ticket.

--
Ticket URL: <https://trac.xapian.org/ticket/739#comment:6>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list