Solr
  1. Solr
  2. SOLR-4812

Edismax highlighting query doesn't work.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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
        Tien Nguyen Manh added a comment -

        Here is a patch

        Show
        Tien Nguyen Manh added a comment - Here is a patch
        Hide
        Steve Rowe added a comment -

        Bulk move 4.4 issues to 4.5 and 5.0

        Show
        Steve Rowe added a comment - Bulk move 4.4 issues to 4.5 and 5.0
        Hide
        Doug Turnbull added a comment -

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

        Show
        Doug Turnbull added a comment - +1 I've also been able to recreate this.
        Hide
        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
        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
        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
        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
        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
        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
        Uwe Schindler added a comment -

        Close issue after release of 4.8.0

        Show
        Uwe Schindler added a comment - Close issue after release of 4.8.0

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development