Ticket #267 (new defect)
Make autoflush in implicit transaction not commit.
| Reported by: | richard | Owned by: | olly |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.0 |
| Component: | Library API | Version: | SVN trunk |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | #266 | |
| Operating System: | All | Blocking: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
