fleshed out #search; added searchIndex