A program that migrates a mysql database table to an Elasticsearch index
The example is based on a simple table which is converted to a single index, it should be trivial to extend it to more sophisticated tables and multiple indexes based on, say, table name for databases containing various tables.