Notice: My personal stance on AI generated artwork. Retweet and share if you agree. Let us discuss, and not immediately scream bloody murder.

Now Viewing: How to search or/and now?
Keep it civil, do not flame or bait other users. If you notice anything illegal or inappropriate being discussed, contact an administrator or moderator.

antifaith - Group: Member - Total Posts: 4
user_avatar
How to search or/and now?
Posted on: 07/12/20 02:59AM

Edit: The or function now seems like it functions as it should


Yesterday I figured out how to search for multiple tags and all possible combinations of those tags, but that functionality has been disabled, my bookmarks for searches this worked for no longer work. Is it still possible to search for all possible combinations of given tags?

((micro_bikini ~ gigantic_breasts ~ partially_visible_vulva ~ pussy) ~ (gigantic_breasts ~ partially_visible_vulva ~ pussy) ~ (gigantic_breasts ~ partially_visible_vulva ~ pussy) ~ (partially_visible_vulva ~ pussy) ~ (partially_visible_vulva ~ pussy) ~ (partially_visible_vulva ~ pussy))

This worked yesterday to search for any possible combination of the 4 tags...

Experimenting further, it seems like maybe or searches don't exclude the other options if they are just chained in, but some tags don't get chained in and sometimes or functionality just stops. Are y'all messing with it right now?



lozertuser - Group: The Fake Administrator - Total Posts: 2146
user_avatar
Posted on: 07/12/20 09:12AM

It worked previously because of a bug with () in tags, I'm looking into fixing this somehow to allow such a complex query, but I'm not very good at this. :D

I've updated the syntax, hopefully this is the last time I have to troubleshoot issues with it.



Meem0 - Group: Member - Total Posts: 6
user_avatar
Posted on: 07/12/20 11:52AM

What do you mean by "all possible combinations"?

Your query is doing an OR of ORs, which is the same as one big OR. It's the same as if you had just put {micro_bikini ~ gigantic_breasts ~ partially_visible_vulva ~ pussy}

Do you want at least 2 of the 4 tags? Then you need ORs of ANDs:

{{micro_bikini gigantic_breasts} ~
{micro_bikini partially_visible_vulva} ~
{micro_bikini pussy} ~
{gigantic_breasts partially_visible_vulva} ~
{gigantic_breasts pussy} ~
{partially_visible_vulva pussy}}

Unfortunately that syntax isn't supported, you can't seem to group the ANDs together.

But, we can convert it to the format that is supported: ANDs of ORs, or "conjunctive normal form"!

If you let A, B, C, D be your four tags, and put this into Wolfram Alpha:
CNF (A AND B) OR (B AND C) OR (A AND C) OR (A AND D) OR (B AND D) OR (C AND D)
It outputs:
(A OR B OR C) AND (A OR B OR D) AND (A OR C OR D) AND (B OR C OR D)

Converted back to your tags, the search is:
{micro_bikini ~ gigantic_breasts ~ partially_visible_vulva} {micro_bikini ~ gigantic_breasts ~ pussy} {micro_bikini ~ partially_visible_vulva ~ pussy} {gigantic_breasts ~ partially_visible_vulva ~ pussy}

Test it out, and it does give all images with at least two of those tags!

You could try the Wolfram Alpha thing yourself if you wanted at least three of the tags.



antifaith - Group: Member - Total Posts: 4
user_avatar
Posted on: 07/13/20 02:25PM

Meem0 said:
What do you mean by "all possible combinations"?

Your query is doing an OR of ORs, which is the same as one big OR. It's the same as if you had just put {micro_bikini ~ gigantic_breasts ~ partially_visible_vulva ~ pussy}

Do you want at least 2 of the 4 tags? Then you need ORs of ANDs:

{{micro_bikini gigantic_breasts} ~
{micro_bikini partially_visible_vulva} ~
{micro_bikini pussy} ~
{gigantic_breasts partially_visible_vulva} ~
{gigantic_breasts pussy} ~
{partially_visible_vulva pussy}}

Unfortunately that syntax isn't supported, you can't seem to group the ANDs together.

But, we can convert it to the format that is supported: ANDs of ORs, or "conjunctive normal form"!

If you let A, B, C, D be your four tags, and put this into Wolfram Alpha:
CNF (A AND B) OR (B AND C) OR (A AND C) OR (A AND D) OR (B AND D) OR (C AND D)
It outputs:
(A OR B OR C) AND (A OR B OR D) AND (A OR C OR D) AND (B OR C OR D)

Converted back to your tags, the search is:
{micro_bikini ~ gigantic_breasts ~ partially_visible_vulva} {micro_bikini ~ gigantic_breasts ~ pussy} {micro_bikini ~ partially_visible_vulva ~ pussy} {gigantic_breasts ~ partially_visible_vulva ~ pussy}

Test it out, and it does give all images with at least two of those tags!

You could try the Wolfram Alpha thing yourself if you wanted at least three of the tags.


I found that syntax empirically when other syntaxes did not work, I did not follow logic as much as I just I tried many different queries including what you suggested until I successfully got all possible combinations of the 2, 3 and then 4 tags. I'll experiment again today since the syntax has been updated again, since last night OR statements were just breaking for some tags such as pussy.



antifaith - Group: Member - Total Posts: 4
user_avatar
Posted on: 07/13/20 02:40PM

Again, no idea why, I tried the logical option and didn't get some results, but this works now! Maybe because the {micro_bikini pussy} acts as a wildcard so the search doesn't exclude other options? IDK

{micro_bikini ~ gigantic_breasts ~ partially_visible_vulva ~ pussy ~ {micro_bikini pussy}}



antifaith - Group: Member - Total Posts: 4
user_avatar
Posted on: 07/17/20 03:38PM

Proper functionality now seems to be implemented, {micro_bikini ~ gigantic_breasts ~ partially_visible_vulva ~ pussy} seems to return every possible combination, good job!



NotTheNax - Group: Member - Total Posts: 67
user_avatar
Posted on: 05/13/21 01:12AM

gelbooru.com/index.php?pa...=&s=view&id=26263
probably a good place to put this


HowtoCheatsheet

I don't know why this isn't more readily available you've gotta go hunting for it
or...
i think some guy in the comments of one of my questions gave it to my similar to what I'm doing now

definitely a massive help



Jerl - Group: The Real Administrator - Total Posts: 6662
user_avatar
Posted on: 05/13/21 10:58AM

A list of all the howto pages is linked to on almost all pages on the site.



lama546 - Group: Member - Total Posts: 1
user_avatar
How to search
Posted on: 03/17/22 04:44PM

Example to me simple as possible please



MomWithBenefits - Group: Member - Total Posts: 1
user_avatar
Posted on: 05/09/22 03:32AM

I tried to do this with height: and width: tags to find pics that are either 1920x1080 or 3840x2160, but just realized that while regular tags work with CNF, the height: and width: tags aren't compatible with OR format at all. I realize now it says this in the cheatsheet. Why is "ratio" not supported?



add_replyAdd Reply


1 2