Merge pull request #336 from sohlich/master

Hook for ElasticSearch.