Use mapping.type in hits and mappings feature