mdn / mdn/fred

Search prioritizes article title too much

Open
#621 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
233
Forks
61
Avg merge
1d 1h
Merged PRs (30d)
82

Description

What information was incorrect, unhelpful, or incomplete?

When searching for "csp nonce" the first results are not CSP related but do include the word "nonce".

The CSP article only comes in fourth place.

Image
What did you expect to see?

What I really wanted was a direct link to <h4 id="nonces">Nonces</h4> in https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP#controlling_resource_loading but I would be happy with a link to the article at the top.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported search for "csp nonce" in the MDN Fred repository and inspect the search implementation and its ranking behavior. Done means the CSP article ranks first or the result links directly to the Nonces section, with coverage for the reported query.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.