-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tagged posts only show up in it's in the first five tags #77
Comments
This article states that the first 20 tags should be indexed for searches, but I can't find anything mentioning how many tags count for the |
hey @ApolloMeister -- can you be more specific about what API endpoint you're hitting and seeing this result? some examples of API requests and the results you're seeing versus what you expect would be helpful. from my understanding, it should be the first 20 tags, as @AprilSylph pointed out. |
https://glitteryteenpoems.tumblr.com/post/677741762845048832/without-but-missing-nothing okay, so this post has the tag #writeblcafe in the seventh tag, so it should be accessible correct? and on the tumblr search page, it does show up as the second result but when we go to https://api.tumblr.com/console/calls/tag/tagged or make acall on the taggedPosts api (using tumblr.js) that post does not show up. this is the first result, and the second result is: when that is the third result on the search page. i did a search for that 'missing post' but cannot find it in returned JSON. I did not want to post the entire resulting json since it's long, but I hope this illuminates what's going on. like to my understanding, that post should be available here, but it's not Another example, updated on march 7, 2022 At the time of posting: https://api.tumblr.com/v2/tagged?tag=writeblrcafe&api_key={mykey} contains the following posts: but not 678073241141690368 ( https://dyphaegrayi.tumblr.com/post/678073241141690368/sappho ) which was posted 1 hour ago, and should be in the json, from my understanding, however, it uses #writeblrcafe in the 18th tag, and I believe that's why it's not showing up in the json. To my understanding the api console & tumblr.js, when using tagged api, it only returns posts with whatever hashtag, as long as that hashtag is in the first five hashtags, this seems to deviate from the search function (which shows posts as long as it is contained in the first 20 tags) |
Okay thanks, that helps a lot! Under the hood, What's more important though is that the public |
Could it be that the tag was added some time AFTER posting? Like, indexing happens only when you post and whatever you add/remove after that gets ignored? |
Editing a post to add/remove a tag triggers indexing it for that tag, so that shouldn't be an issue. |
Is this expected behaviour? I thought that taggedPosts would be able to retrieve all posts that have a certain tag regardless if it was in the first five tags, but that does not seem to be the case. I used the api console to confirm this and this seems to be the behaviour. Recent tags only show up if said tag (for anyone wondering, i'm tracking writeblrcafe) is in the first five tags. So is this expected behaviour or a bug?
The text was updated successfully, but these errors were encountered: