Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5206

FuzzyQuery: matching terms must be longer than maxEdits

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5, 6.0
    • Component/s: core/other
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      FuzzyQuery's maxEdit value must be larger than the length of both terms for there to be a match. Based on a response from the java-user list, it looks like I wasn't the only one surprised by this. Let's document this design choice more clearly in the documentation or modify the behavior.

      Apologies if I missed the documentation of this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mikemccand Michael McCandless
                Reporter:
                tallison@mitre.org Tim Allison
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: