refactor ESIndexServiceImpl