Add polymorphic option in order to add _type to the index.