Red Hat Bugzilla – Bug 879067
Search for project names giving unexpected results
Last modified: 2012-11-21 23:52:32 EST
I believe it is a bug for project search feature. Can anyone in the dev team take a look at this? thank you.
This happens because the project search is using a word-based search without wildcards, so basically if the string does not match the entire word it will not show up as a result.
For example if there is a project with "cloudforms" in the description, at the moment a search of "cloud" or "forms" will not match (unless those words appear in addition to "cloudforms").
The fixes for this would be either adding wildcards to the search, or changing to an n-gram approach that would match substrings regardless of words.
That would make sense if it didn't show me any results when searching for "cloud". Why does it give me 1 result named "Cloudforms" though?
Note that the word "cloud" is present in the name, slug or description for each of the results for a search of "cloud". The fact that "Cloudforms" is also present is just a coincidence in this case.
Note that for the purpose of this search, words can be separated by whitespace or by things like hyphens or underscores.
Aaaaaah..... the 1 result is "Cloudforms CLOUD Engine User Guide". Of course it's being found searching for "cloud" - I was too focused on "cloudforms" to see the second, separte occurance of "cloud" in the name. (oops)