In 1990 Alan Emtage, a student at McGill University in Montreal, built Archie, a tool that collected the filenames on public FTP servers into a searchable index.
Web search engines followed in the 1990s, and later ones such as Google ranked pages by links.