-
Suggestion
-
Resolution: Unresolved
-
None
-
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
- relates to
-
JRASERVER-23387 Camel cased filters sometimes don't show when using filter/project autocomplete in Gadgets
-
- Closed
-
-
JSWSERVER-24976 Filter name with underscore is not listed in suggestion while creating the plan in Advanced Roadmaps
-
- Gathering Impact
-
-
JRASERVER-6218 Allow searching for part of a word (prefix / substring searches)
- Closed