Automattic / Automattic/jetpack
Search: List relevant Category at the top of search results
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
Requested in 1497147-zen
The user would like the category URL (domain.tld/category-slug/) to always show up as the first result when users search for the relevant term. For example, if it's a recipe site and they have a lot of recipes for desserts, they would want /dessert/ to always be the first result, before any actual individual dessert recipes. Would this be possible with some sort of filter?
Contributor guide
Research direction
No files, tests, or entry points are named in the request. Begin by locating Jetpack's search implementation and the WordPress category URL handling, then determine how a relevant category can be identified and placed first; done means the requested category precedes matching individual posts without disrupting other searches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100