Dan Bough
Dan Bough

Reputation: 509

Github API field descriptions

I'm toying with the Github search API (v3) and can't seem to find a description of the fields that are returned. Most of them are obvious, but there are a few like score that aren't. Does anyone know what score means, and does a field reference exist?

Upvotes: 3

Views: 856

Answers (1)

Ivan Zuzak
Ivan Zuzak

Reputation: 18782

The score attribute is the search score of that document for a particular query, and is used for Best Match sorting. In other words, it's used for ranking search results, but it isn't shown in search results on github.com.

Upvotes: 3

Related Questions