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

Automaton Fuzzy Query doesn't deliver all results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-BETA, 6.0
    • core/search
    • 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. ModifiedFuzzyTermsEnum.java
          18 kB
          Johannes Christen
        2. ModifiedFuzzyTermsEnum.java
          18 kB
          Johannes Christen
        3. LUCENE-4282-tests.patch
          2 kB
          Uwe Schindler
        4. LUCENE-4282.patch
          5 kB
          Robert Muir
        5. LUCENE-4282.patch
          5 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: