Object mapping and "index" : "no" in ES 2.0

ES 2.0, I'm working with a mapping that contains:

"collectors" : {
    "type" : "object",
    "index" : "no"
},

and I'm getting the following error:

Mapping definition for [collectors] has unsupported parameters:  [index : no]

Is that right? If I change the type to "string" it works, is that the way I should do this?

Judging by https://www.elastic.co/guide/en/elasticsearch/reference/2.0/object.html the index parameter isn't valid for object fields. I guess objects are just containers of other fields so indexed or non-indexed doesn't really apply.

Thanks Magnus! I guess I'll just remove the "index" : "no" and see if it actually is indexed or not.

Cheers!