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

When searching for a rule having number in its name, numbers are ignored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3
    • Fix Version/s: 4.3
    • Component/s: Rules, Web API
    • Labels:
      None

      Description

      When searching for a rule with name "Avoid use 12", results contains all rules with name matching "Avoid use", ignoring the "12".
      But when searching for a rule with name "Avoid use 123", result is empty (as expected).
      It seems that rule names are badly indexed by E/S.

      This behaviour can be tests with the /api/rules/list WS, when filtering by rules in the Issues page or when searching by rule name or key on the Quality Profile page.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stephane.gamard St├ęphane Gamard (Inactive)
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: