Automattic / Automattic/jetpack

Search: Add taxonomy terms to search results

Open
#14,790 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Search Customer Report [LEGACY] New Feature
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Is your feature request related to a problem? Please describe.

Currently, search results include posts only. If possible, we add taxonomy terms to results too.

#### Describe the solution you'd like

Lets say I have custom taxonomy „cars“ and it contains terms like „bmw“, „audi“,“mercedes“,“mercedes-benz“ …

When user on my site is searching for query „mercedes“, it will show him (besides the found posts) links to the terms „mercedes“ and “mercedes-benz“.

So basically it would index the terms and use them for search too.

#### Describe alternatives you've considered

#### Additional context

From 2741810-zen

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Trace how WordPress posts and custom taxonomy terms are indexed and rendered in search results, then define how matching terms such as “mercedes” and “mercedes-benz” should appear alongside posts and verify the behavior with search coverage.

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
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.