refactored to use the official elasticsearch module
updated the readme to reflect the new configuration options per the refactor to use official elasticsearch client