Defining IDs and routing keys for documents in custom workloads in Rally

I was trying to load a file like this:

{ “index” : { “_index” : “test”, “_type” : “type1”, “_id” : “1”, “_routing : 2 } }
{“firstname”:“first_name1”,“lastname”:“last_name1”,“client”:100,“customerID”:2}
{ “index” : { “_index” : “test”, “_type” : “type1”, “_id” : “2”, “_routing : 2 } }
{“firstname”:“first_name2”,“lastname”:“last_name2”,“client”:100,“customerID”:2}
{ “index” : { “_index” : “test”, “_type” : “type1”, “_id” : “3”, “_routing : 2 } }
{“firstname”:“first_name3”,“lastname”:“last_name3”,“client”:200,“customerID”:2}

Based on this post (How to index routing id based document in rally), I was trying to use the same approach, with "operation-type": "index". Got a message that this is an invalid operation.

Just realized that there is a property for documents called includes-action-and-meta-data. That solved the problem.

Sorry I didn't check that before.

Regards,
Luis