A comparison of the spectra of the ring and ansae in NGC 7009