Add initialize function for search collection