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

NGramPhraseQuery is not boosted.

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1
    • 4.3.1
    • core/search
    • None
    • New

    Description

      If I apply setBoost() method to NGramPhraseQuery, Score will not change.

      I think, setBoost() is forgatten after optimized in rewrite() method.

      Attachments

        1. LUCENE-4970.patch
          2 kB
          Shingo Sasaki

        Activity

          People

            jpountz Adrien Grand
            sasashin Shingo Sasaki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: