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

MultiFieldQueryParser not support boosts for PrefixQuery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • None
    • None
    • 2.1 and 2.3

    Description

      It appears that field boost is only supported for regular field query and not for special queries such as PrefixQuery, FuzzyQuery, RangeQuery, etc. Compare GetFieldQuery() and GetPrefixQuery() implementations for details. I believe this is bug as it MultiFieldQuery only applies the boost to the tearm "canon" and not "reb*" in the query "canon reb*".

      Attachments

        Activity

          People

            Unassigned Unassigned
            5letters 5letters
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: