Closed
Bug 908387
Opened 12 years ago
Closed 10 years ago
product/component searching should sort hits on product/component name before hits on descriptions
Categories
(bugzilla.mozilla.org :: Extensions, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: Aleksej, Assigned: glob)
References
()
Details
Attachments
(1 file)
|
175.36 KB,
image/png
|
Details |
Some queries at https://bugzilla.mozilla.org/describecomponents.cgi give poor results — maybe returning all components from a product that has matching components.
"Layout" and "DOM" give "Core :: Layout" or "Core :: DOM", respectively, and after that apparently just every component of Core, instead of "Core :: Layout: *" / "Core :: DOM: *". "layou" gives all components of "Core :: DOM".
"buil" gives many Boot2Gecko components which have no "buil" in their names or descriptions, but there is "Boot2Gecko :: Builds" (which is not shown first among anything). "build" seems to return only relevant results.
tricky.
> maybe returning all components from a product that has matching components.
this isn't what's happening..
> "Layout" and "DOM" give "Core :: Layout" or "Core :: DOM", respectively, and
> after that apparently just every component of Core, instead of "Core ::
> Layout: *" / "Core :: DOM: *". "layou" gives all components of "Core ::
> DOM".
>
> "buil" gives many Boot2Gecko components which have no "buil" in their names
> or descriptions, but there is "Boot2Gecko :: Builds" (which is not shown
> first among anything). "build" seems to return only relevant results.
component searching searches product and component descriptions for the words as a substring. when sorting the results, if a product or component matches exactly the query, it will be sorted first, with all other results sorted alphabetically.
for both of your examples, the *product's* description is matching.
eg. Boot2Gecko's description is "FirefoxOS, or Boot2Gecko (B2G) is Mozilla's operating system built on web standards", which matches "buil".
sounds like we need to sort product/name matches before description matches.
Severity: major → normal
OS: Linux → All
Hardware: x86_64 → All
Summary: describecomponents.cgi is broken for some searches like "layout" or "dom" or "buil": shows one match and, e.g., everything from a product which has a matching component → product/component searching sort results by relevance, giving description hits lower priority than name hits
Summary: product/component searching sort results by relevance, giving description hits lower priority than name hits → product/component searching should sort hits on product/component name before hits on descriptions
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
014dc85..d1419f8 master -> master
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Extensions: ProdCompSearch → Extensions
You need to log in
before you can comment on or make changes to this bug.
Description
•