We're upgrading from Lucene 3.3.0 to Lucene 4.2.1 over here, and I can't seem to find the replacement for the old IndexReader.getFieldNames method. Googling brings up this ticket which speaks of a new IndexReader.getFieldInfos method, but that was experimental and seems to be around no longer - the trail is cold.
How can I replicate the behavior of IndexReader.getFieldNames in Lucene 4?