The upcoming version of Mastodon server, version 4.2, is currently in beta but is now close to complete in terms of work and features to be added.

One of the most highly anticipated additions is full text search. We’ll try and cover what it means, and what it adds to Mastodon.

The state of search today

Currently, most Mastodon servers are running the latest version, 4.1 - including all Mastodon servers managed by mastodon.site. By default the simple text search allows you to find display names, user names and hashtags. You cannot search the text of posts themselves.

Search in Mastodon 4.2

Once a server upgrades, the setting will be available to users but on an opt-in basis.

The feature is opt in because it impacts the visibility and possibly the privacy of the user, so Mastodon also want to make it obvious to users that the new setting exists and that they may want to adjust it when it is available to them.

The feature does depend on the server admins running a search engine service (the open source project ElasticSearch is compatible with Mastodon), which handles indexing and providing speedy results as you search.

mastodon.site will be making full text search (with ElasticSearch) available for all servers at no extra cost.

Advanced search filters

One of the great benefits of full text search is you’ll also be able to use filters.

Some examples we know of so far from the announcement thread:

  • has:image / has:video / has:audio / has:media
  • has:poll / has:link / has:embed
  • is:sensitive / is:reply
  • language:en
  • from:account
  • before:2023-08-08
  • after:2023-08-08
  • during:2023-08-08

You’ll be able to add these filters directly to your search query, but also they’ll be available to Mastodon apps to make it much easier to filter what you see.

What next?

We’re already testing full text search for mastodon.site servers - if you’d like to be among the first to benefit from this new feature, join us on https://social.mastodon.site.

Why not give us a follow at [email protected] - we share new blog posts there, and we’d love to know what you think of this one, or any other topics you’d like to hear more about!

All subscription payments are handled securely by Stripe, and you can manage it from their payments portal at any time. Apple and Google Pay supported.