Automattic / Automattic/jetpack

Search: List relevant Category at the top of search results

Open
#10,332 3 comments 0 reactions 0 assignees View on GitHub
[Feature] Search [Pri] Low Customer Report [LEGACY] Enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.