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

Results of the global search should be ordered by their similarity to the search term

    Details

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

      Description

      When searching of a word, I want to see the most similar search result on top.

      Similarity means:

      1. The more changes, that have to be applied to the search term to create a match with the result, the less similar the result is (see fuzziness)
      2. Results, beginning with the search term are more similar, than those, that end with the search term
      3. Results, that have more unmatched characters, are less similar

      Examples:

      • When searching for "Qube", "SonarQube" should be above "SonarCube" (see 1.)
      • When searching for "corem", "CoreMetrics.java" should be above "ScoreMatrix.java" (see 2.)
      • When searching for "Analyzer.java", "Analyzer.java" should be above "Analyzer.java.x" (see 3.)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: