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

Move FuzzyQuery rewrite as separate RewriteMode into MTQ, was: Highlighter fails to highlight FuzzyQuery

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: modules/highlighter
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      As FuzzyQuery does not allow to change the rewrite mode, highlighter fails with UOE in flex since LUCENE-2110, because it changes the rewrite mode to Boolean query. The fix is: Allow MTQ to change rewrite method and make FUZZY_REWRITE public for that.

      The rewrite mode will live in MTQ as TOP_TERMS_SCORING_BOOLEAN_REWRITE. Also the code will be refactored to make heavy reuse of term enumeration code and only plug in the PQ for filtering the top terms.

        Attachments

        1. LUCENE-2123-flex.patch
          13 kB
          Uwe Schindler
        2. LUCENE-2123-flex.patch
          19 kB
          Uwe Schindler
        3. LUCENE-2123-flex.patch
          20 kB
          Uwe Schindler
        4. LUCENE-2123-flex.patch
          20 kB
          Uwe Schindler
        5. LUCENE-2123.patch
          17 kB
          Uwe Schindler
        6. LUCENE-2123-flex.patch
          19 kB
          Uwe Schindler
        7. LUCENE-2123.patch
          16 kB
          Uwe Schindler
        8. LUCENE-2123-flex.patch
          19 kB
          Uwe Schindler
        9. LUCENE-2123.patch
          16 kB
          Uwe Schindler
        10. LUCENE-2123-flex.patch
          19 kB
          Uwe Schindler
        11. LUCENE-2123.patch
          17 kB
          Uwe Schindler
        12. LUCENE-2123-lucene30.patch
          3 kB
          Uwe Schindler
        13. LUCENE-2123-lucene30.patch
          4 kB
          Uwe Schindler
        14. LUCENE-2123-ScoreTermRemoval-trunk.patch
          2 kB
          Uwe Schindler
        15. LUCENE-2123-lucene30.patch
          4 kB
          Uwe Schindler
        16. LUCENE-2123-lucene30.patch
          6 kB
          Uwe Schindler
        17. LUCENE-2123-ScoreTermRemoval-trunk.patch
          7 kB
          Uwe Schindler

          Issue Links

            Activity

              People

              • Assignee:
                thetaphi Uwe Schindler
                Reporter:
                thetaphi Uwe Schindler
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: