Project

General

Profile

Feature #10596

Search should default to partial matching

Added by Roy Williams over 6 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

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.

History

#1 Updated by Roy Williams over 6 years ago

Can someone move this issue into category of search?

#2 Updated by Dominic Cleal over 6 years ago

Which page are you searching on precisely? Foreman should already do this.

#3 Updated by Roy Williams over 6 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.

#4 Updated by Dominic Cleal over 6 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.

#5 Updated by Roy Williams over 6 years ago

Dominic this is occurring with Satellite 6.0.8 as well....

#6 Updated by Eric Helms over 6 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.

#7 Updated by Roy Williams over 6 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.

#8 Updated by Eric Helms over 6 years ago

  • Status changed from New to Rejected

#9 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF