Bug 879067 - Search for project names giving unexpected results
Summary: Search for project names giving unexpected results
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: zanata-dev-internal
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-22 00:17 UTC by Hedda Peters
Modified: 2012-11-22 04:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-11-22 04:52:32 UTC
Embargoed:


Attachments (Terms of Use)

Comment 1 Michelle Kim 2012-11-22 01:09:42 UTC
I believe it is a bug for project search feature. Can anyone in the dev team take a look at this? thank you.

Comment 2 David Mason 2012-11-22 04:11:29 UTC
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.

Comment 3 Hedda Peters 2012-11-22 04:25:39 UTC
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?

Comment 4 David Mason 2012-11-22 04:48:24 UTC
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.

Comment 5 Hedda Peters 2012-11-22 04:52:32 UTC
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)

Closing, sorry!


Note You need to log in before you can comment on or make changes to this bug.