userstyles-world / userstyles.world

⭐ Website to browse and share UserCSS userstyles. A modern replacement for UserStyles.org made by the userstyles community.
https://userstyles.world
GNU Affero General Public License v3.0
322 stars 15 forks source link

Irrelevant Search Results shown #230

Closed cyfung1031 closed 11 months ago

cyfung1031 commented 1 year ago

Example: https://userstyles.world/search?q=youtube&sort=mostinstalls

(Same issue for "Most Installs", "Most View", "Rating high to low", etc)

Screen Shot 2023-06-24 at 21 08 28

In the highlighted two results in the screenshots, "youtube" is not found in neither their title, their description, nor their coding.

astyled commented 1 year ago

This is because the author put links to youtube videos in the notes of these styles. You can find them by searching the page source code, not the page itself. Maybe @vednoc have something in mind to fix that, but now its more like a feature.

vednoc commented 1 year ago

One way to fix this is by querying specific columns: name:youtube. It would work great with #128. This is how things work under the hood, especially when all the ranking/relevance goes away after sorting via other methods.

vednoc commented 11 months ago

Closing this issue as it was fixed in https://github.com/userstyles-world/userstyles.world/commit/f9792732dbc53fe51e7354e63645bf46a9c3b09b.