Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-11472

Highlight the most relevant match when searching in documentation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6
    • Component/s: Documentation, Web
    • Labels:
      None
    • Estimate:
      Hours
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Each document has several matches, some of them are exact, some of them are fuzzy. We define the result relevancy (and therefore the position) according to these matches.

      Then we highlight the first matching word in the text and keep some context around. The idea is to highlight not the first match, but the first exact match, it’d give better impression.

      Implementation note: this should be done for both the embedded docs and for the static website.

        Attachments

          Activity

            People

            Assignee:
            wouter.admiraal Wouter Admiraal
            Reporter:
            stas.vilchik Stas Vilchik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: