Searcher now inspects the index to determine its structure.

You can query it using Searcher.getIndexMetadata().