ii: support token weight for the weight of the index