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

Edismax highlighting query doesn't work.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2, 4.3
    • Fix Version/s: 4.8
    • Component/s: None
    • Labels:
      None
    • Environment:

      When hl.q is a edismax query, Highligting will ignore the query specified in hl.q

      Description

      When hl.q is an edismax query, Highligting will ignore the query specified in hl.q

      edismax highlighting query hl.q=

      {!edismax qf=title v=Software}

      function getHighlightQuery in edismax don't parse highlight query so it always return null so hl.q is ignored.

      1. SOLR-4812.patch
        2 kB
        Tien Nguyen Manh

        Activity

        Hide
        thetaphi Uwe Schindler added a comment -

        Close issue after release of 4.8.0

        Show
        thetaphi Uwe Schindler added a comment - Close issue after release of 4.8.0
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1578801 from Alan Woodward in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1578801 ]

        SOLR-5858, SOLR-4812: Allow queryparser to be defined for highlight query, and edismax and dismax to be used for this purpose

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1578801 from Alan Woodward in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1578801 ] SOLR-5858 , SOLR-4812 : Allow queryparser to be defined for highlight query, and edismax and dismax to be used for this purpose
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1578800 from Alan Woodward in branch 'dev/trunk'
        [ https://svn.apache.org/r1578800 ]

        SOLR-5858, SOLR-4812: Allow queryparser to be defined for highlight query, and edismax and dismax to be used for this purpose

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1578800 from Alan Woodward in branch 'dev/trunk' [ https://svn.apache.org/r1578800 ] SOLR-5858 , SOLR-4812 : Allow queryparser to be defined for highlight query, and edismax and dismax to be used for this purpose
        Hide
        romseygeek Alan Woodward added a comment -

        This should be fixed when SOLR-5858 is committed, which I hope to get round to tomorrow. I'll add the test in the attached patch as well.

        Show
        romseygeek Alan Woodward added a comment - This should be fixed when SOLR-5858 is committed, which I hope to get round to tomorrow. I'll add the test in the attached patch as well.
        Hide
        softwaredoug Doug Turnbull added a comment -

        +1 I've also been able to recreate this.

        Show
        softwaredoug Doug Turnbull added a comment - +1 I've also been able to recreate this.
        Hide
        steve_rowe Steve Rowe added a comment -

        Bulk move 4.4 issues to 4.5 and 5.0

        Show
        steve_rowe Steve Rowe added a comment - Bulk move 4.4 issues to 4.5 and 5.0
        Hide
        tiennm Tien Nguyen Manh added a comment -

        Here is a patch

        Show
        tiennm Tien Nguyen Manh added a comment - Here is a patch

          People

          • Assignee:
            romseygeek Alan Woodward
            Reporter:
            tiennm Tien Nguyen Manh
          • Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development