Queries
search
Perform a search across resources, returning a maximum of 1,000 results.
Type: SearchResultItemConnection!
Arguments for search
| Name | Description |
|---|---|
| Returns the elements in the list that come after the specified cursor. |
| Returns the elements in the list that come before the specified cursor. |
| Returns the first n elements from the list. |
| Returns the last n elements from the list. |
| The search string to look for. GitHub search syntax is supported. For more information, see "Searching on GitHub," "Understanding the search syntax," and "Sorting search results.". |
| The types of search items to search within. |
Objects
SearchResultItemConnection
A list of results that matched against a search query. Regardless of the number of matches, a maximum of 1,000 results will be available across all types, potentially split across many pages.
Fields for SearchResultItemConnection
| Name | Description |
|---|---|
| The total number of pieces of code that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. |
| The total number of discussions that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. |
| A list of edges. |
| The total number of issues that matched the search query. Regardless of the total number of matches, a maximum of 1,000 results will be available across all types. |
| The type of search that was performed for issues (lexical, semantic, or hybrid). |
| When a semantic or hybrid search falls back to lexical, the reasons why the fallback occurred. |
| A list of nodes. |
| Information to aid in pagination. |