add search indexes and templates