search isn't finding plugins when no hyphen in string

Open
#506 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
search

Research direction

Reproduce the issue using the two search forms described: “artiss currency converter” and “artiss-currency-converter.” Start at the repository’s search implementation and trace how plugin names are matched. Done means both query forms find the same desired plugin, with a regression test if the existing search tests cover this behavior.

Written by the indexing model from the issue text.

Description

enhancement

When I type in search: "artiss currency converter"
I don't get any results back, etc. no plugin is found with that name.

But when I type it with the hyphens in between like this: "artiss-currency-converter"
I do get the desired results.

I suggest improving the search functionality so it covers both cases so the search is more wide spread and I can easily find the package I want :)
Screenshot 2023-08-01 at 08 41 59
Screenshot 2023-08-01 at 08 42 40

Dominant language
PHP
Stars
768
Forks
69
Avg merge
3h 52m
Merged PRs (30d)
1

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.

More from wpengine/wpackagist

All issues in wpengine/wpackagist

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.