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

WeightedSpanTermExtractor should not always call extractUnknownQuery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 5.5.1, 6.0
    • None
    • None
    • New

    Description

      WeightedSpanTermExtractor always calls extractUnknownQuery, even if term extraction already succeeded because the query is eg. a phrase query. It should only call this method if it could not find how to extract terms otherwise (eg. in case of a custom query).

      Attachments

        1. LUCENE-7112.patch
          3 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: