A npm package to take and load dump of documents into elasticsearch
elasticdump --input=http://127.0.0.1:9200/author --output=author.json --type=data
elasticdump --input=http://127.0.0.1:9200/author --output=author.json --type=data --searchBody '{"query": {"bool": {"filter": {"term": {"authorname": "AUTHOR_NAME_HERE"} } } } }'
elasticdump --input=author.json --output=http://127.0.0.1:9200/author --type=data