Search prioritizes article title too much
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.
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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