Implement search for Repository and Library