Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1966

Search highlight problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1.0
    • None
    • None

    Description

      Glen Mazza reported a problem with search term highlight on mailing list

      [There's one more bug, if you had the time to look at it that would be great. When I'm on the search results page and search on "dog", I'll get the articles with "dog" in it but with no word highlighting in the text. Staying on the search results page, if I query "cat", I'll get the cat articles, but the word "dog" will be highlighted whereever it appears in the cat articles. If I next search on "horse", I get the horse articles with the word "cat" highlighted, etc., etc.]

      http://mail-archives.apache.org/mod_mbox/roller-dev/201307.mbox/%3C51F6848F.1050006%40gmail.com%3E

      I have found that search highlight is used in fauxcoly. I am attaching a fix for this theme.

      Attachments

        1. SearchHighlight.patch
          2 kB
          Maciej Rumianowski

        Activity

          People

            gmazza Glen Mazza
            mrumianowski Maciej Rumianowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: