Topic: Tag favoriting, bumping tags, and whitelisting by favorites

Posted under Site Bug Reports & Feature Requests

As the title says, I would like a way to favorite tags, bump a certain tag to the beginning of a search, and use the favorite tags as a whitelist. (bumping is not specifically related to favorites, but it was initially related so I'll keep it here anyways)

For example, if I do a search such as "rating:e order:id_asc bump:hypnosis group_masturbation", it should organize posts by putting all posts with rating:e and group_masturbation AND hypnosis at the beginning by ascending id, then put the rest of the posts that have the first two tags but not hypnosis afterward in the same id_asc order among themselves.

Alternatively, I could search "rating:e order:id_asc fav_tags group_masturbation" to only include posts with rating:e and group_masturbation that also include at least one of the tags in my favorites.

nurfgal said:
As the title says, I would like a way to favorite tags, bump a certain tag to the beginning of a search, and use the favorite tags as a whitelist. (bumping is not specifically related to favorites, but it was initially related so I'll keep it here anyways)

For example, if I do a search such as "rating:e order:id_asc bump:hypnosis group_masturbation", it should organize posts by putting all posts with rating:e and group_masturbation AND hypnosis at the beginning by ascending id, then put the rest of the posts that have the first two tags but not hypnosis afterward in the same id_asc order among themselves.

Alternatively, I could search "rating:e order:id_asc fav_tags group_masturbation" to only include posts with rating:e and group_masturbation that also include at least one of the tags in my favorites.

So from what I can tell, you basically want two things:
1. A way of making posts with a tag appear first. More simply, tag_a bump:tag_b would result in posts with both tag_a and tag_b, then posts without tag_b. The idea is that you want to somewhat prioritize that specific tag, but that you don't need that tag for the whole list. A "I want to see this fetish primarily, but I also want posts where this fetish isn't shown" sort of thing?

2. A way of favoriting tags and searching using an alias for those. Basically a sort of custom tag group, if you will. You can add these tags there, and when you search for "favorite_tags" or whatever, that gets replaced with ~tag_a ~tag_b ~tag_c ....

These sound like interesting ideas, but I feel like they have some interesting concerns. For idea 1, this may cause issues with something like bump:tag_a bump:tag_b bump:tag_c bump:tag_d. It would essentially have to search for all four tags at once, then four groups of just three, etc. Basically causes n! (n-factorial) number of searches. That is, if this is implemented in a way that fits with the current search method. They might be able to implement it by searching for tag_a and sort it by has(tag_b) or whatever.

For idea 2, this requires storing a taglist for every user on the site, then having the search engine look at the user's favorite tags to do things with. As well, it requires finding every post with at least one of those tags, which I assume is a lot of work. I assume the ~ (tag OR) option is a minor performance cost, because I assume it works by taking the list with that tag, then combining that with the list that doesn't (a ~tag_b ~tag_c ~tag_d e == set [a, tag_b, e] union set [a, tag_c, e] union set [a, tag_d, e]). With my idea for how it would work, that sounds like it would be some work on the servers.

The first idea is just a simple sort method. It really only "improves" user experience, and doesn't add any new functionality. The second idea is just a way of aliasing a group of tags as a single name, which can be solved by: just doing it manually. Both of these methods are already possible, but they do somewhat improve user experience.

My suggestion (outside of e621 making these features) for the first option is using RE621, since it has "Custom Flags" which adds a simple ribbon on the post thumbnail. It lets you specify some group of tags (hypnosis) and give that a name (HYPNO) and a color. You can use that to spot specific posts you want to see. The second option is to either keep a text document with your favorite tags handy so you can just search for them, or to just keep them memorized.

jmvryt said:
So from what I can tell, you basically want two things:
1. A way of making posts with a tag appear first. More simply, tag_a bump:tag_b would result in posts with both tag_a and tag_b, then posts without tag_b. The idea is that you want to somewhat prioritize that specific tag, but that you don't need that tag for the whole list. A "I want to see this fetish primarily, but I also want posts where this fetish isn't shown" sort of thing?

2. A way of favoriting tags and searching using an alias for those. Basically a sort of custom tag group, if you will. You can add these tags there, and when you search for "favorite_tags" or whatever, that gets replaced with ~tag_a ~tag_b ~tag_c ....

These sound like interesting ideas, but I feel like they have some interesting concerns. For idea 1, this may cause issues with something like bump:tag_a bump:tag_b bump:tag_c bump:tag_d. It would essentially have to search for all four tags at once, then four groups of just three, etc. Basically causes n! (n-factorial) number of searches. That is, if this is implemented in a way that fits with the current search method. They might be able to implement it by searching for tag_a and sort it by has(tag_b) or whatever.

For idea 2, this requires storing a taglist for every user on the site, then having the search engine look at the user's favorite tags to do things with. As well, it requires finding every post with at least one of those tags, which I assume is a lot of work. I assume the ~ (tag OR) option is a minor performance cost, because I assume it works by taking the list with that tag, then combining that with the list that doesn't (a ~tag_b ~tag_c ~tag_d e == set [a, tag_b, e] union set [a, tag_c, e] union set [a, tag_d, e]). With my idea for how it would work, that sounds like it would be some work on the servers.

The first idea is just a simple sort method. It really only "improves" user experience, and doesn't add any new functionality. The second idea is just a way of aliasing a group of tags as a single name, which can be solved by: just doing it manually. Both of these methods are already possible, but they do somewhat improve user experience.

My suggestion (outside of e621 making these features) for the first option is using RE621, since it has "Custom Flags" which adds a simple ribbon on the post thumbnail. It lets you specify some group of tags (hypnosis) and give that a name (HYPNO) and a color. You can use that to spot specific posts you want to see. The second option is to either keep a text document with your favorite tags handy so you can just search for them, or to just keep them memorized.

I wanted to wait until the morning to respond to this properly, but now that I'm awake, I can say what I wanted to say.

1. Yes, that is exactly what I want out of bumping tags. You got that spot on.

2. Also yes. It saves space in the search box so that in particular isn't as cluttered.

And sure, I agree that I could just add all my favorite tags as a copy-paste, but my reasoning for it as a feature is the same reason the Blacklist exists. No one wants to copy-paste their entire list of tag removals, and they wouldn't want to paste their entire preferred tags either. So to narrow down to those specific ones can make finding posts you'll enjoy much easier. I'm sure the favorite tags list wouldn't be nearly as long, and we could even limit the length to like... 30 though it might not even need that many.

For the concern with bumping tags, my best idea is that it bumps all posts with one of the bumped tags, but doesn't do the factorial stuff. If I search to bump two tags, it won't prioritize posts with both tags over posts with just one, it simply bumps posts that have one, the other, or both in the given sort order. If I search rating:e hypnosis bump:hypnotic_visor bump:spiral_eyes, I'll recieve hypnosis posts that contain at least one of these two, and then posts that don't contain either of them. No priority for posts containing both.

Original page: https://e621.net/forum_topics/60155