add search to index