Recently, GitHub announced that now, Code Search will only index repos that had recent activity within the last year.
Here, recent activity means that the repository has had a commit or has shown up in a search result. In case a repository does not carry any activity for an entire year, that repo will be purged from the Code Search index.
![]()
Source: GitHub
GitHub said that this update will enable the most relevant content to surface in the code search index. This will also make code search queries fast for all customers.