Gelbooru

Notice: We are now selling NEW Gelbooru Merch~! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #355


ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0000355Bug ReportingHighalways03/16/10 05:44AMrossignoll
ReporterRandomSeed
Assigned to:geltas
Resolution:Resolved
View StatusPublic
Version:0.2.0
Target Version:0.2.5
Summary:Sorting by score does not work correctly
Description:In general, scores are higher closer to the beginning of the results for "sort:score:desc" and lower closer to the beginning of "sort:score:asc," but the order is by no means correct. Is it possible that they are not actually sorting by score, but by something else, such as the number of upvotes or downvotes? Well, whatever the reason, it does not work.
Additional Info:If you run the searches "sort:score:desc" and "sort:score:asc," the first image for both queries is <http://gelbooru.com/index.php?page=post&s=view&id=2>, with a score of zero. The second image is <http://gelbooru.com/index.php?page=post&s=view&id=5>, with a score of five. The third image is <http://gelbooru.com/index.php?page=post&s=view&id=7> with a score of zero.

I cannot image that noone else has noticed this, but I looked through the entire list of tickets and could not find a mention of it.
RandomSeed replied at 2010-03-16 17:56:54
The issue is much easier to see in a smaller sample such as "daisy_chain sort:score:asc" versus "daisy_chain sort:score:desc." Ideally, the two should be in reversed order if they are sorting by the same factor or in the same order if they are not sorting or sorting by the same rule. They appear to each be in a different, seemingly random order.

vryheid replied at 2010-04-15 17:10:23
It is sorting by the number of tags in a particular image. For example if you put "long_hair sort:score:asc" the first page will be covered in images having an enormous amount of tags, where as "long_hair sort:score:" will have images with 2 or 3 tags at most. Obviously this sorting method is completely incorrect and I would really appreciate seeing this feature implemented so we can actually sort images by score.

rossignoll replied at 2010-04-17 01:25:16
I think the feature for sorting by number of tags should stay, though probably under a different name (e.g., sort:tagnumber:asc), so as not to confuse people.

Of course, the feature for sorting by actual score should be implemented as well.