On Sat, Jun 2, 2012 at 11:16 PM, Dawid Weiss <dawid.we...@cs.put.poznan.pl> wrote: > The actual source of the problem is that suppression applies to > codec.getName and enforcing a TEST_POSTINGSFORMAT means Lucene40Codec > is created which always returns Lucene40 from getName(). A simple fix > would be to allow changing the returned name for Lucene40. > Alternatively, we can do suppression checks more intelligent... > Suggestions welcome. >
I don't think we should do that, because getName() is for the SPI. I have an alternate patch: https://issues.apache.org/jira/browse/LUCENE-4102 Thanks for reporting this! -- lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org