Feature #10596
closedSearch should default to partial matching
Description
Currently when searching hosts or content, you are required to use globbing or wildcards to make matches. It should default to partial string matching unless quotations are provided.
I am not sure how difficult this would be implement but as it stands searching for "raven" when entries raven1,raven2,raven3 exist will result in nothing being shown when it should show the partial matches. I believe to be that explicit should require quoting.
Updated by Roy Williams over 9 years ago
Can someone move this issue into category of search?
Updated by Dominic Cleal over 9 years ago
Which page are you searching on precisely? Foreman should already do this.
Updated by Roy Williams over 9 years ago
Within "Hosts -> All Hosts" and within the Product Repositories. It doesn't seem to do partial matching under Satellite 6.0.8 and Katello I'm required to use globs to make it match.
so for the case of raven1 I need to use 'raven*' in the search window.
Updated by Dominic Cleal over 9 years ago
- Project changed from foreman-tasks to Katello
- Triaged set to No
Moving to Katello for a fix for the repos page then, Foreman's hosts page already does this. If you can reproduce against a supported version, please file a new bug with debug logs, thanks.
Updated by Roy Williams over 9 years ago
Dominic this is occurring with Satellite 6.0.8 as well....
Updated by Eric Helms over 9 years ago
- Triaged changed from No to Yes
This is a result of the two separate search backends that we currently use -- ActiveRecord w/ scoped search and Elasticsearch. The latter is being phased out and removed which will unify searching and address this issue. We can keep this open if you wish for tracking, but we won't address a fix for this directly other than our larger removal of Elasticsearch.
Updated by Roy Williams over 9 years ago
Thanks Eric,
I understand so this is getting changed through that process I just wanted to make sure this was getting fixed by some measure. You can close this issue if you want I wasn't sure there was anything being done.
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 166