apache / lucenenet

Apache Lucene.NET
https://lucenenet.apache.org/
Apache License 2.0
2.24k stars 639 forks source link

FuzzyQuery produces a wrong result when prefix is equal to the term length #1002

Closed paulirwin closed 2 weeks ago

paulirwin commented 3 weeks ago

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.)

paulirwin commented 2 weeks ago

@NightOwl888 Thanks for finding the PR, I only included the commit hash in the comment as that was what I had found at the time.