took of elasticsearch controller