Danbooru

Search for one character only

Posted under General

For example: I am looking around and want to view images containing ONLY Flandre Scarlet. If I use the tag "flandre_scarlet" you'll get images containing this tag, which are a lot. But you'll also get images containing for example "remillia_scarlet", which I don't want. And considering the number of the characters in the Touhou series, just adding "-remillia_scarlet" doesn't really works.

So my question: Is there a easy way to search for a character tag and exclude all other character tags.

Also, does anyone has some opinions to share regarding this?

Updated by RaisingK

S1eth said:
We may have a solo tag, but only 1704 out of 10k+ images have it.

Consequently, nigh-useless.

I made a trac for this issue 3 months ago (a metatag that specified how many character tags could be in a post, http://trac.donmai.us/ticket/482 ), but it got a "wontfix". It would be really useful, but alas.

albert said:
You could probably cache the character count in the post.

But I don't think it's worth the additional space/processing cost.

jxh2154 said:
I've wanted a "search for posts with 'x' tags of type 'y'" for a long time, but I guess it's too resource intensive.

Perhaps that will change in the future?

albert (http://trac.donmai.us/ticket/508 ) said:
You know, with the switch to using GIN indexes for tag queries, it's starting to make sense to denormalize these into the tags themselves instead of relying on join tables and extra fields. This is definitely true for favorites and for pools. It may be true for parents (hard to figure out child-parent relationships though).

Extending that to this... If the total count of each tag-type is stored as a tag and updated with each tag edit, is that much of an added cost?

With a way to specify the amounts of each type of tag, you'd be able to find all the posts from pixiv that aren't tagged with an artist...

Updated

1