
On Wednesday, January 23, Github
launched a new, significantly revised and improved search for code, repositories and developers. Now the infrastructure is provided by the
ElasticSearch server
cluster , which indexes all the added code on the fly, the interface has been significantly reworked, and, most importantly, there are many functional improvements.
Repository
search results can be filtered by the number of asterisks, forks, owner and size. When searching for a code, by the size and type of the file, its location. Users can be filtered by the number of subscribers, repositories and by location. To make the results more relevant, the code from forks is indexed only if the popularity of the fork exceeds the popularity of the parent repository.
The repository search results display the time when the last changes were made. When searching for a code, line numbers are visible and syntax is highlighted.
')
Search results for registered users now include their private repositories.