[ https://issues.apache.org/jira/browse/LUCENE-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrzej Bialecki updated LUCENE-1959: -------------------------------------- Attachment: mp-splitter2.patch Now, the mystery is why this test passed when executed in Eclipse - that assert should've tripped then as well. I remember now why I used bitsets - we actually need to know the number of deleted docs to return proper value in IR.numDocs(), and this value is not easy to calculate without actually doing this intersection. Your version looked more elegant, but it still tripped that assert (for good reason). I fixed my version so that it passes the tests when executed through ant (and it still passes in Eclipse, huh .. ;) ). > Index Splitter > -------------- > > Key: LUCENE-1959 > URL: https://issues.apache.org/jira/browse/LUCENE-1959 > Project: Lucene - Java > Issue Type: New Feature > Components: Index > Affects Versions: 2.9 > Reporter: Jason Rutherglen > Assignee: Michael McCandless > Priority: Trivial > Fix For: 3.0 > > Attachments: LUCENE-1959.patch, LUCENE-1959.patch, > mp-splitter-inline.patch, mp-splitter.patch, mp-splitter2.patch > > > If an index has multiple segments, this tool allows splitting those segments > into separate directories. -- 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org