class ESRichClientImp implements ESClient {

    @Override
    public IndexResponse index(IndexRequest indexRequest, String refreshPolicy) throws IOException
    {
        indexRequest.setRefreshPolicy(refreshPolicy);
        IndexResponse indexResponse = rhlclient.index(indexRequest);
        return indexResponse;
    }

    public  ESRichClientImp(Properties properties);
    public  ESRichClientImp(RestHighLevelClient rhlclient);

}