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: #746


ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0000746Feature RequestnormalN/A05/24/14 09:38AMZipFile
ReporterZipFile
Assigned to:geltas
Resolution:Open
View StatusPublic
Version:
Target Version:N/A
Summary:Display deleted images for staff/gardeners
Description:Subj. Same goes for the API.
Additional Info:e.g. http://gelbooru.com/index.php?page=dapi&s=post&q=index&id=123 returns empty root node while http://gelbooru.com/index.php?page=post&s=view&id=123 is a regular page with all the things.
lozertuser replied at 2014-05-26 02:24:18
If it is deleted, it is removed from our searcher, which is what you are accessing.

ZipFile replied at 2014-05-26 04:44:49
So how about move direct api access by id (/index.php?page=dapi&s=post&q=index&id=<id>) outside of searcher? If i can access deleted image from the site, why I can't access it from the api?
If everything is about our searcher limitation, how expensive will be maintaining separate searcher with deleted images (or just only deleted) alongside of regular one? Of course, it won't accessible for everyone.

Jerl replied at 2014-05-27 02:21:13
Adding a separate Solr instance for deleted images probably wouldn't be feasible. I've already suggested it as a solution to other issues.

May I ask what you need to access deleted posts through the API for?

ZipFile replied at 2014-05-27 06:44:11
Parsing API output is a less pain than parsing entire web page, that's the main reason. For the second one, I want to make a tag-hunting engine.

Jerl replied at 2014-05-28 02:38:23
If your intent with the tag hunting engine is to try and reduce the inaccuracy of the tag counters, please be aware that the counters will still be inaccurate even after the tag is removed from all of the deleted images in the site. The most egregious example, "cute", showed over 3000 posts in its counter, even though a direct database query for posts containing the tag, bypassing the searcher, showed that there were absolutely none left on the site. A tag hunter may help make the numbers smaller, but as with "cute", the inaccuracy will remain there until the counters are manually reset. Because of this, I don't really see much point in trying to remove invalid tags from deleted posts.

ZipFile replied at 2014-05-28 03:32:08
I've already done with some research about how our tag system works, so I know.
Hunting here is for small tags, like ghost-tags, typo-tags, pet-tags, etc...