GithubHelp home page GithubHelp logo

Comments (3)

PeterShaggyNoble avatar PeterShaggyNoble commented on June 1, 2024

This does beg the question of whether "fuzzy matching" and sorting by relevance are even necessary. Chances are pretty high visitors are searching for specific icons so should we instead return exact matches in alphabetical order?

from simple-icons-website.

ericcornelissen avatar ericcornelissen commented on June 1, 2024

I agree that bad matches can be a case against fuzzy matching and in favor of returning (something like) exact matches - I'm assuming you mean that the search query matches the start of the brand name - however, I do think it is very nice that the query "fcebook" gives me the icon of facebook. I would definitely be in favor of keeping "fuzzy matching" for that reason. Also, as a separate "data point", many code (and text?) editors have a functionality to search for and open a file based on its name, and though you (or at least I) typically know the name of the file it is nearly always implemented using fuzzy search. What do you think @PeterShaggyNoble?

I would expect we end up iterating over this issue a couple of times, but the above should be a good first step, I think.

from simple-icons-website.

jorgeamadosoria avatar jorgeamadosoria commented on June 1, 2024

This does beg the question of whether "fuzzy matching" and sorting by relevance are even necessary. Chances are pretty high visitors are searching for specific icons so should we instead return exact matches in alphabetical order?

sorting by relevance is definitely not necessary.
As a matter of fact sorting at all is not necessary. The icons should be presented sorted alphabetically and that's it, that's more than enough.

Regardless, I do think we should keep fuzzy search for the reasons @ericcornelissen explains.

from simple-icons-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.