fthevenet commented on PR #12212: URL: https://github.com/apache/lucene/pull/12212#issuecomment-1483253357
I've just added a new test in `TestDrillSideways` that succeeds with the patch and fails without. Actually in production it would fail by returning 0 hit when 1 hit was expected but during tests it actually fails an assert in org.apache.lucene.codecs.lucene90.Lucene90PostingsReader$EverythingEnum.nextPosition(Lucene90PostingsReader.java:978) and throws. Which made me realize that next time I'm troubleshooting weird behaviour in Lucene, I'll make sure to enable assertion... That would probably have save me some time finding the root cause. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
