The dsconf info command reports which attributes need to be re-indexed (for example, after a configuration change).