Automattic / Automattic/jetpack
Search: Add taxonomy terms to search results
- 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
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