[feat] Add support for indexable flag #698

Open
opened 2024-02-19 13:48:15 +00:00 by Ghost · 3 comments

The idea

It would be nice if the indexable flag in AP is set to true if discoverable is also set to true. I don't know the "culture" of Akkoma instances to know if this should be a separate setting.

The reasoning

As is most probably known, Mastodon recently added support for full text search through a new indexable flag which is separate to the discoverable flag. Source

While all posts in Akkoma that are discoverable are indexed for search, posts from Akkoma do not show up in search in Mastodon and any other software that adopts its standard, which unfortunately is a large chunk of the Fediverse.

I don't really agree with how Mastodon does this, but I believe people who want their posts to be public and searchable to work in other places as intended.

There is a spec / discussion to add indexable to AP as well, which you can find below:

https://codeberg.org/fediverse/fep/src/branch/main/fep/5feb/fep-5feb.md

https://socialhub.activitypub.rocks/t/fep-5feb-search-indexing-consent-for-actors/3550

Thanks in advance, I have been enjoying my own Akkoma instance. :)

Have you searched for this feature request?

  • I have double-checked and have not found this feature request mentioned anywhere.
  • This feature is related to the Akkoma backend specifically, and not pleroma-fe.
### The idea It would be nice if the indexable flag in AP is set to true if discoverable is also set to true. I don't know the "culture" of Akkoma instances to know if this should be a separate setting. ### The reasoning As is most probably known, Mastodon recently added support for full text search through a new indexable flag which is separate to the discoverable flag. [Source](https://github.com/mastodon/mastodon/pull/26485) While all posts in Akkoma that are discoverable are indexed for search, posts from Akkoma do not show up in search in Mastodon and any other software that adopts its standard, which unfortunately is a large chunk of the Fediverse. I don't really agree with how Mastodon does this, but I believe people who want their posts to be public and searchable to work in other places as intended. There is a spec / discussion to add indexable to AP as well, which you can find below: https://codeberg.org/fediverse/fep/src/branch/main/fep/5feb/fep-5feb.md https://socialhub.activitypub.rocks/t/fep-5feb-search-indexing-consent-for-actors/3550 Thanks in advance, I have been enjoying my own Akkoma instance. :) ### Have you searched for this feature request? - [x] I have double-checked and have not found this feature request mentioned anywhere. - [x] This feature is related to the Akkoma backend specifically, and not pleroma-fe.

It's useful to have it separate if you have an old or alternate account that you don't want to recommend for following, but has useful information you still want to be searchable.

It's useful to have it separate if you have an old or alternate account that you don't want to recommend for following, but has useful information you still want to be searchable.

I have implemented this here #1051

Note that this is a bit less granular than Mastodon's current implementation. I wanted to just quickly check if it works so I didn't add any new db flags - indexable simply mirrors the value of discoverable.

I have implemented this here https://akkoma.dev/AkkomaGang/akkoma/pulls/1051 Note that this is a bit less granular than Mastodon's current implementation. I wanted to just quickly check if it works so I didn't add any new db flags - `indexable` simply mirrors the value of `discoverable`.
Owner

While all posts in Akkoma that are discoverable are indexed for search,

This may have just been unfortunate wording, but actually Akkoma’s post search does not take the author’s is_discoverable setting into account. It always considers all publicly accessible posts (i.e. public and unlisted).

Neither does the built-in user search for the matter (though perhaps it should with an exception for follow{ing|ers}). Currently is_discoverable controls:

  • HTTP metadata for user profiles (restricting indexing by e.g. external search engines)
  • whether or not the account can show up in /api/v1/directory responses
> While all posts in Akkoma that are discoverable are indexed for search, This may have just been unfortunate wording, but actually Akkoma’s post search does not take the author’s `is_discoverable` setting into account. It always considers all publicly accessible posts (i.e. `public` and `unlisted`). Neither does the built-in user search for the matter *(though perhaps it should with an exception for follow{ing|ers})*. Currently `is_discoverable` controls: - HTTP metadata for user profiles (restricting indexing by e.g. external search engines) - whether or not the account can show up in `/api/v1/directory` responses
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AkkomaGang/akkoma#698
No description provided.