Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-526

Multifieldqueryparser now throws a KeyNotFoundException if all search fields do not have boosts set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • Lucene.Net 3.0.3
    • None
    • Lucene.Net Core
    • None

    Description

      Using the Multifieldqueryparser overload that accepts a Dictionary<string, float> of boosts used to only require setting boosts for fields whose default boost needed to be changed. After upgrading from 2.9.2 to 3.0.3, MultiFieldQueryParser now throws a KeyNotFoundException unless I add entries for the remaining fields to the boost Dictionary.

      Attachments

        Activity

          People

            itamar Itamar Syn-Hershko
            redscout88 Chris Dondanville
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: