Closed Bug 1155394 (mdn-search-algorithm) Opened 9 years ago Closed 4 years ago

[meta] Improve MDN search algorithm

Categories

(developer.mozilla.org Graveyard :: General, enhancement)

All
Other
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hoosteeno, Unassigned)

References

Details

(Keywords: DevAdvocacy, productwanted, Whiteboard: [specification][type:feature][DevRel:P2])

What problems would this solve?
===============================
Searching on MDN would be more accurate and valuable to all users who depend on MDN's search ranking.

Who would use this?
===================
All users

What would users see?
=====================
Their desired result would be near the top of search results.

What would users do? What would happen as a result?
===================================================
They would get to what they need faster.

Is there anything else we should know?
======================================
Severity: normal → enhancement
Depends on: 1153797, 1135863
Alias: mdn-search-algorithm
Whenever I use the search function on MDN, I get way too many irrelevant results. For instance, if I search for 'createTable' I get back 5,633 results. The results include the terms "create", "table", "tables", "creating", "create tables", and even "AudioContext.createWaveTable()". This is way too much to wade through when all I want is an exact match for "createTable".

It seems no matter what the search term is, MDN seems to take every possible permutation of the term and displays the results. Searching for "getElementsByTagName" gets 9,292 results!

Perhaps a "Sort by relevance" button would be appropriate. Better yet, always sort results by relevance.
Depends on: 1157045
Another example of how the search function is broken:  A search for "openNewTabWith" (camel case) returns over 6,000 documents, but "opennewtabwith" (all lower case) returns zero hits.
Depends on: 1158759
Depends on: 1148559
No longer depends on: 1158759
Depends on: 1185129
Depends on: 1213733
Depends on: 1235507
Depends on: 1119577
Depends on: 1246459
Keywords: DevAdvocacy
Depends on: 1261274
Depends on: 1264438
Depends on: 1265737
Whiteboard: [specification][type:feature] → [specification][type:feature][DevRel:P2]
Depends on: 1337461
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.