GH-13315: Fix IndexOutOfBoundsException thrown in DefaultPassageFormatter by unordered matches

2024-06-20 Thread Stéphane Campinas
Hello, I have made requested changes to the PR https://github.com/apache/lucene/pull/13315. Please tell me if I need to add something else to it! Thanks, -- Stephane Campinas signature.asc Description: PGP signature

Re: Expected EOFException is not thrown

2015-12-15 Thread Stéphane Campinas
https://issues.apache.org/jira/browse/LUCENE-6932 On 15 December 2015 at 15:03, Robert Muir wrote: > at a glance, this looks like a bug in RAMDirectory to me. Can you open an > issue? > > On Tue, Dec 15, 2015 at 9:52 AM, Stéphane Campinas > wrote: > > Hi, > > >

Expected EOFException is not thrown

2015-12-15 Thread Stéphane Campinas
if it is a misuse of the API on my part. If you do confirm it as a bug, I will open an issue on JIRA with a patch. Thanks, -- Stéphane Campinas public void testShouldThrowEOFException() throws Exception { final Random random = random(); try (Directory dir = newDirectory()) { fin