This repository was archived by the owner on Nov 14, 2019. It is now read-only.

Description
I have installed ES 2.2.
I tried installing the one that appears in the README:
$ $ES_HOME/bin/plugin install org.codelibs/elasticsearch-reindexing/2.1.1
And also compiling it, in order to use pom.xml that appears to support 2.2.
When I execute it, this is what I get:
$ curl -XPOST localhost:9200/oldindex/_reindex/newindex/
{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"failed to parse, document is empty"}],"type":"mapper_parsing_exception","reason":"failed to parse, document is empty"},"status":400}
And in /var/log/elaticsearch/node.log, this is that I see:
[2016-03-03 15:16:40,773][INFO ][rest.suppressed ] /oldindex/_reindex/newindex/ Params: {index=oldindex, id=newindex, type=_reindex}
RemoteTransportException[[elastic-1][172.16.87.59:9300][indices:data/write/index]]; nested: RemoteTransportException[[elastic-1][172.16.87.59:9300][indices:data/write/index[p]]]; nested: MapperParsingException[failed to parse, document is empty];
The index exists and has documents in it.