On 7/8/2015 6:13 PM, Yonik Seeley wrote: > On Wed, Jul 8, 2015 at 6:50 PM, Shawn Heisey <apa...@elyograg.org> wrote: >> After the fix (with luceneMatchVersion at 4.9), both "aaa" and "bbb" end >> up at position 2. > Yikes, that's definitely wrong.
I have filed LUCENE-6889 for this problem. I'd like to write a unit test that demonstrates the problem, but Lucene internals are a mystery to me. I have a concise and repeatable manual test (using Solr) outlined in this comment: https://issues.apache.org/jira/browse/LUCENE-6689?focusedCommentId=14705543&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14705543 Is there an existing Lucene test class that I could use as a basis for a test? I will look into tests for analysis components and try to build it on my own, but any help is appreciated. Thanks, Shawn