lemmy
lemmy copied to clipboard
more flexible searching by post URL, partial URL searching
Requirements
- [X] Is this a feature request? For questions or discussions use https://lemmy.ml/c/lemmy_support
- [X] Did you check to see if this issue already exists?
- [X] Is this only a feature request? Do not put multiple feature requests in one issue.
- [X] Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.
- [X] Do you agree to follow the rules in our Code of Conduct?
Is your proposal related to a problem?
Currently if I want to search if something has been posted already, I have to get the URL an exact match, but URLs can vary in small ways.
Youtube example:
https://www.youtube.com/watch?v=pd5iofvLrIU
https://youtu.be/pd5iofvLrIU
https://youtu.be/pd5iofvLrIU?si=QO2iK1Zw0Z7NDRHo
Describe the solution you'd like.
If I could search by a part of the URL, like just pd5iofvLrIU
, then it would find them all. I guess it would be a text index with wordstops like :
, /
, ?
, =
, and &
. This could probably even happen automatically for known domains as suggested/lower search results. This could also be used to search by domain name.
Also when making a post, currently it does searches by title which helps reduce reposts or get people to crosspost instead of repost, it would be cool if it also did that automatic search by the URL.
Describe alternatives you've considered.
This could maybe be a plugin?
Additional context
No response