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

Search result highlighting for api/components/suggestions

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4
    • Component/s: ElasticSearch
    • Labels:

      Description

      Each result of api/components/suggestions should contain an html escaped attribute match.

      Example:

      {
                "key": "project-foo",
                "name": "Project Foo",
                "match": "Project <mark>Fo</mark>o",
      }
      
      {
                "key": "project-bar:src/fo.js",
                "name": "fo.js",
                "match": "<mark>fo</mark>.js",
      }
      

      If matching parts cannot be identified, still the attribute has to be available.

      Example:

      {
                "key": "project-bar:src/bar.js",
                "name": "bar.js",
                "match": "bar.js",
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                daniel.schwarz Daniel Schwarz (Inactive)
                Reporter:
                daniel.schwarz Daniel Schwarz (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: