VChet / StyleBase

UserCSS theme sharing site
https://stylebase.cc
MIT License
20 stars 1 forks source link

improve keyword search #21

Closed RiedleroD closed 3 years ago

RiedleroD commented 3 years ago

I kinda have the problem where when I search for "wiki" (without quotes), the wikipedia styles don't show up because its searching for the full term. Maybe you could implement a searching algorithm that just searches if the search term is present as a substring instead of a word? And also maybe implement a google-esque search engine, including quoting stuff for exact matches, prepending dashes for excluding stuff and similar stuff. I'm sure you can solve this problem.

VChet commented 3 years ago

Search by substring added in 4.3.0. I'll think about adding more search parameters if search results will be too irrelevant.