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

WeightedSpanTermExtractor should not rewrite MultiTermQuery all the time

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.3
    • None
    • None
    • New

    Description

      Currently WeightedSpanTermExtractor will rewrite MultiTermQuery regardless of the field being requested for highlighting. In some case like SOLR-2216, It can be costly and cause TooManyClauses exception for no reason.

      Attachments

        1. LUCENE-7520.patch
          3 kB
          Cao Manh Dat

        Issue Links

          Activity

            People

              dsmiley David Smiley
              caomanhdat Cao Manh Dat
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: