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

Provide warning about ignored, short search terms in 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

      Searching for components requires a minimum of two characters as input. Providing a search for single characters would decrease the performance of the components index and seems not to be valuable for the user anyways.

      If api/suggestions/components gets called with a search query < 2 characters it should fail (no change required)

      If api/suggestions/components gets called with a search query >= 2 characters, but containing search tokens with a size < 2 characters, it should return search results along with a warning.

        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: