Hey mastodon.social users, I've just updated something and I want you to pay attention to the quality of the account search/autocomplete. Please tell me your impressions after a while.

@Gargron searching for a username doesn't seem to surface the results. adding an @ doesn't help. it's not until you add the @mastodon.social that it shows the user.

tried searching for "a"

@trwnh Single letter username? I don't think we ever showed suggestions for less than 2 letters?

Follow

@Gargron yeah, try searching for "a" then "@a" etc

@Gargron hmm. searching for "trwnh" breaks pagination. clicking "load more" does nothing, so you can only view 6 of the 12 results

@trwnh I think there's only 6 accounts that match that query. Seems correct. I get 11 results in total but remember 4 of them are toots and 1 is a hashtag. It adds up

@Gargron well i get the following 5 results at first

- trwnh (this account)
- trwnh@misskey.xyz (misskey)
- trwnh@hub.libranet.de (hubzilla)
- trwnh@write.as (writeas)
- trwnh@pixfed.com (test)

clicking "load more" only loads 1 more:

- trwnh@pooltoy.club (test)

accounts that should be appearing but are not:

- trwnh@pixelfed.social (pixelfed)
- trwnh@sleeping.town (masto)
- trwnh@kirakiratter.com (masto)
- trwnhpol@anticapitalist.party (masto, contains/begins with substring "trwnh")

@Gargron fwiw my acp and sleeping accounts are marked as moved-to this one, so that might explain those two (if moved accounts are excluded from search? although idk if they should be)

but the pixelfed and kirakiratter ones are just not showing up at all. and i know the pixelfed one used to show up near the top, too...

@trwnh Yeah, moved accounts are and always have been excluded from search. That's important so that don't obscure the live accounts.

@Gargron ok so that explains those two, but not the other two.

@Gargron for that matter, trying to search for "triggerofsol" doesn't surface "triggerofsol@sunbeam.city" and searching for "@triggerofsol" gives 0 results

@trwnh Well, it turns out when I fixed the single-letter usernames, I accidentally committed another change that completely removed n-gram search! So no wonder that wasn't popping up. Nothing was! Fixed.

@trwnh All your other accounts show up now as well, it was an artifact of that mistake

@Gargron ok good bc i genuinely forgot how many alts i had set up at one point or another lol

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!