I am currently working on a custom integration of Hibernate-Search and I needed a way to access the MetaData from outside of the process creating the SearchFactory.
I created a pull request with a new Method.