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

Automaton Fuzzy Query doesn't deliver all results

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-BETA, 6.0
    • Component/s: core/search
    • Labels:
    • Lucene Fields:
      New

      Description

      Having a small index with n documents where each document has one of the following terms:
      WEBER, WEBE, WEB, WBR, WE, (and some more)
      The new FuzzyQuery (Automaton) with maxEdits=2 only delivers the expected terms WEBER and WEBE in the rewritten query. The expected terms WEB and WBR which have an edit distance of 2 as well are missing.

        Attachments

        1. LUCENE-4282.patch
          5 kB
          Robert Muir
        2. LUCENE-4282.patch
          5 kB
          Robert Muir
        3. LUCENE-4282-tests.patch
          2 kB
          Uwe Schindler
        4. ModifiedFuzzyTermsEnum.java
          18 kB
          Johannes Christen
        5. ModifiedFuzzyTermsEnum.java
          18 kB
          Johannes Christen

          Activity

            People

            • Assignee:
              rcmuir Robert Muir
              Reporter:
              superjo Johannes Christen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: