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

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: Lucene.Net 3.0.3
    • Fix Version/s: None
    • Component/s: Lucene.Net Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: