es 1.4.0 needs index.version.created in its settings, added parameter to pass settings to typemapping