Switched advanced search to use the elastic search index