Reproducible crash matching phrases

2021-02-10 Thread Nicolás Lichtmaier
I've been able to reproduce a crash we are seeing in our product with newer Lucene versions. I'm attaching a small Java code that reproduces this. It might look weird, it's the result of removing every custom thing we are applying to the query while still seeing the bug. This is the crash I

Re: Reproducible crash matching phrases

2021-02-10 Thread Chris Hostetter
: I've been able to reproduce a crash we are seeing in our product with newer : Lucene versions. Can you be specific? What exact versions of Lucene are you using that reproduces this failure? If you know of other "older" versions where you can't reproduce the problem, that info would also be

Re: Reproducible crash matching phrases

2021-02-10 Thread Nicolás Lichtmaier
This happens on Lucene 8.8. I deleted the index and now I don't see the problem. =( I'll post an updated version of the code shortly. Thanks! El 10/2/21 a las 19:01, Chris Hostetter escribió: : I've been able to reproduce a crash we are seeing in our product with newer : Lucene versions. Can

Re: Reproducible crash matching phrases

2021-02-10 Thread Nicolás Lichtmaier
The crash happens if you instead add these two fields:             doc.add(new TextField("ExampleText", "periodic function", Field.Store.NO));             doc.add(new TextField("ExampleText", "plot of the original function", Field.Store.NO)); I'm attaching an updated file as well this this ch

Re: Reproducible crash matching phrases

2021-02-10 Thread Chris Hostetter
: I'm attaching an updated file as well this this changes. : : This happens in Lucene 8.8.0 (and probably since 8.4.0). Ok -- cool ... with the udpated code i was able to reproduce on branch_8x, and with 8.8 & 8.7 (but not 8.4) -- I've distilled your patch into a test case and attached to a n

Re: Reproducible crash matching phrases

2021-02-10 Thread Nicolás Lichtmaier
Great! Thanks! Yes, I realized that this is actually directory-type independent. El 10/2/21 a las 20:19, Chris Hostetter escribió: : I'm attaching an updated file as well this this changes. : : This happens in Lucene 8.8.0 (and probably since 8.4.0). Ok -- cool ... with the udpated code i was