We plan to use elasticsearch-hadoop bolt in storm with 2.x version of Elastic-Search.
So we cannot use the es.mapping.routing option because that does not work with 2.x version.
And since we never want to search by ID, we just want that whatever ES-node gets the big bulk of documents, that node should consume those documents without distributing it any further (except its replicas).
Is there a way that I can disable routing in elastic-search via some configuration or custom-jar/plugin?
The code around https://github.com/elastic/elasticsearch/blob/0aba19f4fa5c4fa2ac76ee96996d463a838248ac/core/src/main/java/org/elasticsearch/cluster/routing/OperationRouting.java#L175 looks somewhat promising.