Before starting please have a mongo replica set initiated.
I have mongo running at localhost:27170
and elasticsearch at localhost:9200
The test dataset I used is available on the mongodb website.
I am using MongoDB 2.6 and Elasticsearch 2.2.0 on a Windows machine.
Here I have tested three cases:
- An index already exists,
mc-test-index
in this case