Open 8ullyMaguire opened 11 months ago
Also for the frontend, I would like to be able to choose to search either from buttons like shown in the images above or with syntax similar to this, but I don't know if this would require doing anything different in the backend so I mention it here.
References:
[Feature request] Search operator support in Lemmy search
It goes like this:
case:on
- enables case-sensitive search*instance:<instance.com>
- Show search results from a particular instance.-instance:<instance.com>
- Excludes instance from search results.-keyword
- search for results that don't mention a word or phrase. -"hello world"
excludes the phrase "hello world
" from search results. To exclude a phrase, the searcher will have to use apostrophes (e.g: -"hello johnny
")-community:<community>@<instance.com>
- Excludes community from search results. If <instance.com>
is not provided, it excludes the community from the current instance from the search results.*
Matching any word or phrase. Example: steve * apple
before:yyyy-mm-dd
- Shows results before from a particular date;after:yyyy-mm-dd
- Shows results after from a particular date.community:<community>@<instance.com>
- If <instance.com>
is not provided, it will only show results from the current instance. Otherwise, it will show search results from the community of that particular instance where it is hosted.\
" before a character (@, :,
) to mean literal @
and :
I'd like to have Reddit's search operators on Lemmy too: https://www.reddit.com/wiki/search/.
Request for change by @Neshura87 that was written based on #317
This is similar proposal but we would need to choose one for implementation.
Requirements
Is your proposal related to a problem?
Yes, the current tagging system in Lemmy lacks advanced filtering options, making it difficult for users to find and organize content based on specific tag combinations. This feature request aims to address this limitation by proposing the implementation of advanced tag filters, similar to those found in image organizing programs^1 and booru-style image boards^2.
Describe the solution you'd like.
I propose the addition of advanced tag filtering options in Lemmy, allowing users to:
Additionally, it would be helpful to allow users to save presets and give them names for easy access to their preferred filtering options.
This feature request is inspired by the advanced filtering options found in the UI of an image organizing program mentioned by @M4rtineski in the original comment^1 and the booru-style image view, search, and tagging system discussed in issue #3626.
Describe alternatives you've considered.
An alternative solution could be to integrate third-party tools or libraries that offer advanced tag filtering options. However, implementing a native solution within Lemmy would provide a more seamless user experience and better integration with the platform's existing features.
Additional context
Advanced tag filtering options have proven to be successful in other platforms, such as booru-style image boards^2 and image organizing programs^1. Implementing these features in Lemmy would enhance the user experience by allowing users to find and organize content more efficiently based on their preferences.
Related