Add search functionality to index view