Github search suddenly returning incorrect results?

A project i’ve made, spicetify-marketplace, has been using the same github search with around zero issues for around 6-10 months now, and it tends to return somewhere between 30-40 items for the extensions search. Recently, however, it returns two. This seems unprompted as none of the repos have removed the topic we’re searching for, and the code was not modified as well, which leads me to believe it to be a github issue. (This also occurs on all versions of the marketplace, even previously working ones with over 10,000 users.)

1 Like

HI @CharlieS1103
Do you have a worked example of an actual search query and expected and actual result.
Without this peoples ability to assist you here will be limited.
Its the same sort of information that would be required for a support ticket, which is your other option if know the API is no longer working as defined.

Does the same search string work from the command line?

This is the search topic in reference, if you look at that link, you’ll see there are only 4 repositories shown, however on the preview of the topic(seen here Search · spicetify-extensions · GitHub) it says that there are 47.
@byrneh

they are topics, if you take a look at the 4 repos

they all have the spicetify-extensions

now, when you take a look at Repositories filter, which says 33, as long as there is the similar repo name, it’s part of the search, even if it is not added to that topic

topics are used to label repos, so if you created your unique label, when you click it, all of those with that label will be collected, hence it’s called topic,

you can do this by going to repo and click the gear button at the About section

image

it’s one technique to increase the visibility of the repo

now going back why it’s 47, maybe there is some algorithm for that resulting in 47 not 33, or it’s counting private repos although not displayed, or maybe, deleted repos but not updated on the server yet

now going back why it’s 47, maybe there is some algorithm for that resulting in 47 not 33, or it’s counting private repos although not displayed, or maybe, deleted repos but not updated on the server yet

I know for a fact that this is not the case unfortunately, for example, my own repository (GitHub - CharlieS1103/spicetify-extensions: extension for spotify i'm creating, made an adblocker because the ads are a bit annoying) does not appear. If you would like, I can send 43 more examples.

If you look in most of the spicetify-extensions repositories(I guess you can’t since they’re not listed), you’ll notice most have a manifest.json, this was for a project I made which displays all of these repositories and allows users to download them from within Spotify.

This project worked without fail for months when suddenly, every user began reporting that most of their extensions and themes were gone.

at this point, there is a new repo appearing, yours is still not there, under that topic

it is updated just 1 hour ago, would you might try updating that ? maybe it’s part of the algorithm to enhance searches, as I guessed previously

and as always, this is just a discussion, you might want to file a ticket for this one

@jdevstatic Just tried it and it seemed to have worked, unfortunately, this solution is a bit unhelpful to our purposes as having all 50 developers who use our application randomly update their projects would be a bit difficult.
Thank you for figuring this out however as it is helpful, and I will file for a support ticket.

yup, I saw that one too,

so yes, that’s part of the algorithm, and as always, you can try opening a ticket for that

https://github.com/github/feedback