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

Xapian nobody at xapian.org
Mon Dec 5 03:21:35 GMT 2016


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

Comment (by olly):

 A flag makes much more sense.  Having both
 `Database::get_document(Xapian::docid did)` and `Document::Document(const
 Database& db, Xapian::docid did)` with different behaviour is just
 confusing, and API users will inevitably end up finding and using the one
 they didn't want.

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



More information about the Xapian-tickets mailing list