indeed, this should be @index_type, not @type. Fixing this shouldn't (I don't think) have any default-behavior impact, but is useful for folks wanting to change the index name (there's an index_type setting already in this plugin, it's just not used right now, probably a mistake)