Example code extracting value from rethinkdb and adding it into elasticsearch.