Lucene - Core
  1. Lucene - Core
  2. LUCENE-5206

FuzzyQuery: matching terms must be longer than maxEdits

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5, Trunk
    • 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.

        Activity

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Tim Allison
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development