Fixed the ElasticSearchPersistWriter

this is a public method.  What prevents others from calling it?  Also, I would remove the comment as it is misleading.