elasticsearch handler