Email or username:

Password:

Forgot your password?
Darius Kazemi

Made a Mastodon pull request.

In v4, there is an issue on servers that don't have elasticsearch: when a user types @ in the compose box and starts to type a name, the results they get are ordered by a popularity ranking algorithm. This is fine if you were only searching accounts you don't follow, but to me it makes more sense to FIRST return matches for accounts you DO follow as a suggestion, and then return popular accounts that you don't follow

github.com/mastodon/mastodon/p

9 comments
Kat Marchán 🐈

@darius YES PLEASE OH GOD

This has bitten me SO MANY times when trying to remember people's handles!!

Darius Kazemi

@zkat it looks like it will be fixed in the next Mastodon release

Ricard Torres

@darius makes total sense, no sure why it wasn't done like that to begin with :blobcatthinking:

Andrew

@darius I wonder if it would make more sense to sort by the degrees of freedom on the social graph and abandon artificial popularity ranking entirely. That would mean someone with a million followers who I don’t know would be ranked below someone who followed a person I’m following, who I was probably searching for

Darius Kazemi

@cinebox yes, that would be good, but we do not have easy access to degrees on the social graph in Mastodon, and in fact that is somewhat by design since you don't have complete data about who remote accounts are following

Darius Kazemi

Looks like it was a bug in the ranking algorithm, and I am just about done fixing it (with help from Eugen)

L.J. but extra nerdy

@darius Ohhh this was a bug? Thank goodness, we were thinking it was by design and there was some anger surrounding it.

Elias Mårtenson

@darius thank you. This one has annoyed me for a long time.

Go Up