[ https://issues.apache.org/jira/browse/LUCENE-2895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shai Erera resolved LUCENE-2895. -------------------------------- Resolution: Fixed Assignee: Shai Erera Lucene Fields: [New, Patch Available] (was: [New]) Committed revision 1064463. > MockRandomCodec loads termsIndex even if termsIndexDivisor is set to -1 > ----------------------------------------------------------------------- > > Key: LUCENE-2895 > URL: https://issues.apache.org/jira/browse/LUCENE-2895 > Project: Lucene - Java > Issue Type: Bug > Components: Codecs > Reporter: Shai Erera > Assignee: Shai Erera > Fix For: 4.0 > > Attachments: LUCENE-2895.patch > > > When working on LUCENE-2891 (on trunk), I found out that if MockRandomCodec > is used, then setting IWC.readerTermsIndexDivisor to -1 allows seeking e.g., > termDocs, when it shouldn't. Other Codecs fail to seek, as expected by the > test. We need to find out why MockRandomCodec does not fail as expected. > To verify that, run "ant test-core -Dtestcase=TestIndexWriterReader > -Dtestmethod=testNoTermsIndex -Dtests.codec=MockRandom", but comment out the > line which adds MockRandom to the list of illegal codecs in the test. -- 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org