HSEARCH-1736 Make MetaData from SearchFactoryBuilder accessible to the outside

What use case do you try to solve here? You are exposing an internal type _org.hibernate.search.engine.metadata.impl.TypeMetadata_ in an SPI. That's against your packaging/design guidelines. So the question is what you really want to achieve? Maybe we can find a better way of doing it. Also, there is a public facing meta data API. Have you seen _SearchFactoryIntegrator#getIndexedTypeDescriptor(Class<?>)_? Could you use this API?