add references to search, delete unnecessary templates, strip html tags from ES index