Supress routing

(ted) #1

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 looks somewhat promising.

(system) #2