refactor ESSearchServiceImpl