Skip to content

Additional Advanced Search Options #342

@jeffsikes

Description

@jeffsikes

With Hollo 0.70, search has been greatly expanded, and includes search filters similar to what Mastodon has available when Elastisearch has been installed on the server, including has:media, is:sensitive and others.

There's a few more filters that Hollo should consider incorporating. These exist as well with Mastodon, just not as well known since they don't appear in the Web UI's search instructions.

See the Search Options in Mastodon here:

https://github.com/mastodon/mastodon/blob/29ec2cd18678d2ca2d68f831c1d6252ceb94c363/app/models/concerns/status/search_concern.rb#L35

This includes these filters to consider adding:

has:image
has:video
has:audio
has:link
has:embed
is:quote

Note that is:quote doesn't seem to do what you'd expect right now on mastodon.social, at least it's not bringing back true post quotes that Mastodon added in recent versions.

And, since Hollo doesn't generate link previews (right?) I'm not sure has:embed or has:link would work (maybe on external posts?)

I have a request for one or two more options, just for fun if they aren't difficult to add 😄

has:poll-active
has:poll-ended

This would allow a developer to create interfaces that only show active polls or closed polls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions