MapperParsingException for type Object

Hi All,
Recently I upgraded my ES from 1.4 to 2.1.1. But all mapping creation are failing wherever the type is object with below exception.

"somedata":{"type":"object","index":"not_analyzed"}

06-Jan-2016 14:56:37,137 ERROR [stderr] (Module init thread.) MapperParsingException[Failed to parse mapping [_default_]: Mapping definition for [somedata] has unsupported parameters:  [index : not_analyzed]]; nested: MapperParsingException[Mapping definition for [event] has unsupported parameters:  [index : not_analyzed]];

I know that mapping creation has become very strict going ahead from 2.x. But did anyone came across this exception before?

Can you show us the mappings?