Simple Elasticsearch Indexer in Scala