Saved Filters with CamelCase ignored by Filter Search

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Navigation - Filters
    • None
    • 1

      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

              Assignee:
              Unassigned
              Reporter:
              Chris Terry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: