[ 
https://issues.apache.org/jira/browse/LUCENE-5975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145648#comment-14145648
 ] 

Robert Muir commented on LUCENE-5975:
-------------------------------------

Thanks Ryan

I added an additional assert to the test:

{code}
    assertEquals(numSet, current.size() - current.count());
{code}

and a warning to each backwards file that it should not be modified. 

I also beasted the test.

I will commit to the 4.10 branch soon. It doesn't need to go anywhere else.

> Lucene can't read 3.0-3.3 deleted documents
> -------------------------------------------
>
>                 Key: LUCENE-5975
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5975
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Priority: Blocker
>         Attachments: LUCENE-5975.patch, LUCENE-5975.patch
>
>
> BitVector before Lucene 3.4 had many bugs, particulary that it wrote extra 
> bogus trailing crap at the end.
> But since Lucene 4.8, we check that we read all the bytes... this check can 
> fail for 3.0-3.3 indexes due to the previous bugs in those indexes, instead 
> users will get exception on open like this: CorruptIndexException(did not 
> read all bytes from file: read 5000 vs 5001....



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to