Refactored different ways of obtaining an ElasticSearch client.
Added JavaDoc.
Starting to refactor ElasticSearch index management.
Add more methods to indexer interface.