Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Add explanation for score field for search results#456

Merged
pengwynn merged 2 commits intomasterfromdoc-score-field
Mar 14, 2014
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletionscontent/v3/search.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -18,6 +18,14 @@ search results so that you can find the item that best meets your needs. To
satisfy that need, the GitHub Search API provides **up to 1,000 results for each
search**.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

What would you think about adding a section heading? That would make this paragraph easier to spot for people that are skimming through the docs, and it would provide a way to link directly to this explanation.

Perhaps: "Scoring Search Results" or "Ranking Search Results"?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I can dig it. Added in6e978ac.

### Ranking search results

Unless another sort option is provided as a query parameter, results are sorted
by best match, as indicated by the `score` field for each item returned. This
is a computed value representing the relevance of a item relative to the other
items in the result set. Multiple factors are combined to boost the most
relevant item to the top of the result list.

### Rate limit

The Search API has a custom rate limit. For requests using [Basic
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp