lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <>
Subject [jira] Created: (LUCENE-808) bufferDeleteTerm in IndexWriter might flush prematurely
Date Wed, 21 Feb 2007 08:15:05 GMT
bufferDeleteTerm in IndexWriter might flush prematurely

                 Key: LUCENE-808
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
    Affects Versions: 2.1
            Reporter: Doron Cohen

Successive calls to remove-by-the-same-term would increment numBufferedDeleteTerms
although all but the first are no op if no docs were added in between. Hence deletes would
be flushed too soon.

It is a minor problem, should be rare, but it seems cleaner to fix this. 

Attached patch also fixes TestIndexWriterDelete.testNonRAMDelete() which somehow
relied on this behavior.  All tests pass.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message