WordPress / WordPress/pattern-directory

Search: Boost by favorites?

Open
#348 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Component] Pattern Directory [Type] Discussion [Type] Enhancement
Dominant language
PHP
Stars
134
Forks
46
Avg merge
9h 4m
Merged PRs (30d)
19

Description

#44 implemented ElasticSearch, which gives us the ability to boost a pattern that has more favorites higher in the results. Do we want to do that?

If so, we'll need to index the meta field, then add a should term. It probably should be boosted too high, since relevance is still more important.

Related #347

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review #44 to understand the existing Elasticsearch implementation and inspect related issue #347. Determine whether the meta field can be indexed and how a should term would affect relevance. Done means favorites influence search ordering without outweighing textual relevance, with the behavior validated against representative results.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.