How can I get Time Machine to ignore the data created by Spotlight?
On the root of each indexed volume, a hidden folder called .Spotlight-V100.

Also: spotlight metadata is probably not large enough to be worthwhile in excluding, at least if you are doing this for space reasons. Spotlight is also essential for TM to work properly, as this is how TM determines which files have changed since the last backup.