Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 555
Dan Bough Avatar asked Dec 20 '25 20:12

Dan Bough


1 Answers

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.

like image 147
Ivan Zuzak Avatar answered Dec 24 '25 03:12

Ivan Zuzak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!