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

Highlighter doesn't support ConstantScoreQuery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.1, 4.0
    • 4.1, 6.0
    • modules/highlighter
    • None
    • New, Patch Available

    Description

      if you wrap a query into a constant score the highlighter fails to highlight since ConstantScoreQuery is not recognized in WeightedSpanTermExtractor

      Attachments

        1. LUCENE-4486.patch
          3 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: