[ / / / / / / / / / ] [ dir / 8teen / asmr / aus / beast / egy / htg / hydrus / polk ]

/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, swf, pdf
Max filesize is 12 MB.
Max image dimensions are 10000 x 10000.
You may upload 5 per post.


New user? Start here ---> http://hydrusnetwork.github.io/hydrus/

Current to-do list has: 816 items

Current big job: finishing and polishing duplicate system


File: f05aa8f95ca790a⋯.png (412.19 KB, 5000x5000, 1:1, f05aa8f95ca790aaea8177b3c6….png)

aad9fa No.5650

>search for "Trait:A Character:X Character:Y"

>results can either be:

>Character:X with Trait:A

>Character:Y with Trait:A

>both characters with Trait:A

>an unspecified character with Trait:A

How do you get around this conundrum? Do you think there should be something like "tag groups" for single images?

bc63e3 No.5699

This is a fundamental problem that arises from how hydrus, and basically every booru, maps tags to images. Every image has an id unique to that image, and every tag has an id unique to that tag. The tag id is related to an image id to add that tag to that image. This means that if the tag “Trait:A” is added to the image there is no information to tell what person, character, or object that tag will apply to. This problem will have to be solved by the hyrdus dev.

One solution to this problem is to make tags apply not only to images but to other tags as well, but this solution has problems. On problem is that it would increase the size of the largest database in hyrdus, client.mappings.db, by up to 200% the current size (if the solution is to add a tag index and a parent index to every tag/image pair) if there aren’t any duplicate tags in the tree. You could save space by replacing the image id with a generic parent id and adding a Boolean to tell if the parent is an image or another tag, but this could seriously hurt performance on a large database with very deep trees.

If the hyrdus dev does attempt to solve this problem with tag parenting, I would suggest including some baseline tags for the very top of the tree that would apply to nearly all files: a “meta” tag to be a parent of all tags that aren’t about the image or file itself (for example, filename tags and tag source/booru tags), a “panel” tag to differentiate tags of sub images or other discrete units, like panels in a comic strip or scenes in a video, and a focus and background tag pair to allow for searching of only the focus or background of an image.


b58c74 No.5714

>>5650

Solution: See >>5681

>Complex AND/OR/XOR of tags

>( tag_A AND tag_B ) OR ( tag_C XOR tag_D XOR tag_E ) would be a proper syntax, using () or [] for nesting. Operator could be done left-to-right for ease of understanding.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / ] [ dir / 8teen / asmr / aus / beast / egy / htg / hydrus / polk ]