According to the article I sent to you, this is un-necessary. If set as a mapping, Elasticsearch should load the document, extract the routing and set it up, serialize the document and then post it an Elasticsearch index.

This is how you set it up:

```
$ curl -XPUT 'http://localhost:9200/store/order/_mapping' -d '
{
   "order":{
      "_routing":{
         "required":true,
         "path":"customerID"
      }
   }
}'
```