The method depends on the star being sufficiently bright to provide a measurable spectrum, which as of 2013 limits its range to about 10,000 parsecs.
This method is contingent upon the star being luminous enough to produce a measurable spectrum, which currently confines its applicability to roughly 10,000 parsecs.