I\'m essentially asking this question, but I\'d like to know how is it done using the node library.
Here\'s my petty attempt:
elasticSearchClient.sea