Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-79110

Saved Filters with CamelCase ignored by Filter Search

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Navigation - Filters
    • None
    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      As a user, I would like to search for saved filters in Issues → Manage filters (and other places such as ARJ filter search) that contain CamelCase.

      Example

      Using the following two saved filters, a search for "Filter" or "Search" will only return the "Filter-Search" filter and will not return the "FilterSearch" filter:

      • Filter-Search
      • FilterSearch

      Background

      According to Lucene 7.3, standard analyzers do not inherently split on capitalization changes but can be enabled with a custom Analyzer that uses the WordDelimiterGraphFilter to split tokens on case changes and numbers.

      Class WordDelimiterGraphFilter

      Words are split into subwords with the following rules:

      • split on case transitions: "PowerShot" → "Power", "Shot"

      Workaround

      Change CamelCase filter names so that they contain hyphens and other separators, for example:

      • Filter-Search
      • Filter-Search-Other

              Unassigned Unassigned
              cterry@atlassian.com Chris Terry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: