Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10527

edismax with sow=false fails to create dismax-per-term queries when any field is boosted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.5.1, 6.6, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      When sow=false, the edismax query parser creates dismax-per-field queries when field analysis is different enough that query structures differ per field (stopwords in one field only, e.g.). (By contrast, dismax-per-term queries are produced when sow=true or when query structures are the same across all fields.)

      However, the code to determine whether per-field query structures differed wasn't aware of boost queries. As a result, when sow=false and boost are specified for at least one field (e.g. q={!edismax sow=false}text&qf=fieldA^2+fieldB^4), dismax-per-field queries are always produced, even when per-field query structures are equivalent.

        Attachments

          Activity

            People

            • Assignee:
              steve_rowe Steve Rowe
              Reporter:
              steve_rowe Steve Rowe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: