this post was submitted on 07 Mar 2024
18 points (100.0% liked)

hexbear

10261 readers
2 users here now

Now that the old Hexbear fork has been officially abandoned, this community will be used as a space for meta-discussion on the site itself.

founded 4 years ago
MODERATORS
 

for example when I type :cringe and it opens the menu for me to browse, it pulls up like 200 emotes most of which don't even have half of the word cringe in them, just way, way too many results so I couldn't find the ones actually tagged with the keyword. Am I doin something wrong?

Love the new system, thanks so much for the hard work! I think something in the searching algorithm is a bit loose? I don't know how to code in the slightest so idunno but something sure isn't right

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 8 months ago

Yeah i noticed that when i implemented it; The js library for the inline emojis has a search functionality, and it basically finds all emojis with name/keywords that contains the letters that you are searching for, and ranks them as most matching to least. So searching 'cringe' will search for all emojis that have the letters 'c' 'r' 'i' ..., with the top ranked emojis having the most letters and in typed order.

I tried to work around it a bit but the library doesn't have any hooks for it as far as i saw.