[Xapian-tickets] [Xapian] #267: Make autoflush in implicit transaction not commit.
Xapian
nobody at xapian.org
Thu May 8 18:36:53 BST 2008
#267: Make autoflush in implicit transaction not commit.
-------------------------+--------------------------------------------------
Reporter: richard | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.1.0
Component: Library API | Version: SVN HEAD
Severity: normal | Keywords:
Blockedby: 266 | Platform: All
Blocking: |
-------------------------+--------------------------------------------------
Currently, when no explicit transaction is in progress, and an automatic
flush occurs, the changes so far are committed.
Instead, it would be better if a flush of the buffered changes occurred,
but not commit() happened.
This would lead to more predictable behaviour from the API (in particular,
if a lot of documents are added without a flush, currently, a user may see
that some of them are available for searching, and not realise that an
explicit flush() is needed to make them all available).
This would probably be easiest to implement in conjunction with the
changes to support #266, so I've marked this as blocked by #266.
--
Ticket URL: <http://trac.xapian.org/ticket/267>
Xapian <http://trac.xapian.org>
Xapian
More information about the Xapian-tickets
mailing list