Golang – feed data into Elasticsearch

Before you start to feed any data into Elasticsearch you have to define Elasticsearch mapping! This is really necessary because otherwise if you try to insert decimal numbers Elasticsearch can take them as type long. To must map them as “double” before you...