[X] You've included unit or integration tests for your change, where applicable.
[X] You've included inline docs for your change, where applicable.
[X] There's an open issue for the PR that you are making. If you'd like to propose a change, please open an issue to discuss the change or find an existing issue.
FuzzyQuery produces a wrong result when prefix is equal to the term length
Fixes #941
Description
See #941
(NOTE: This PR was originally opened as #945 but included an unexpected commit. This PR cherry-picks that commit.)
FuzzyQuery produces a wrong result when prefix is equal to the term length
Fixes #941
Description
See #941
(NOTE: This PR was originally opened as #945 but included an unexpected commit. This PR cherry-picks that commit.)