Changed indexed field of schema to an attribute