Some unit tests in LUCENE-5205 that passed in 5.3.1 are now failing with Lucene 5.4.0.
It looks like MultiTerms are no longer being processed correctly within a SpanNotQuery in 5.4.0 and in trunk.
Test case for trunk attached. Haven't looked into a solution yet.
Looks like pre and post parameters were accidentally dropped when rewriting the SpanNotQuery in r1701621
Adrien Grand or David Smiley, any chance you'd be willing to fix this regression in 5.4.0 and trunk?
Thanks Tim, the patch looks good to me! I'll merge it later today.
Commit 1720365 from Adrien Grand in branch 'dev/trunk'
[ https://svn.apache.org/r1720365 ]
LUCENE-6929: Fix SpanNotQuery to not ignore the pre/post parameters when rewriting.
Commit 1720366 from Adrien Grand in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1720366 ]
I just committed this change to 5.x and trunk. I think that will be a good one to consider backporting to 5.4 as well if/when we decide to do a 5.4.1 release.
Great. +1 to backporting if there's a 5.4.1. Thank you!
Reopened for a 5.4.1 release.
Commit 1724048 from Adrien Grand in branch 'dev/trunk'
[ https://svn.apache.org/r1724048 ]
LUCENE-6929: Move CHANGES entry to 5.4.1.
Commit 1724049 from Adrien Grand in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1724049 ]
Commit 1724051 from Adrien Grand in branch 'dev/branches/lucene_solr_5_4'
[ https://svn.apache.org/r1724051 ]
Thank you for remembering this one!