Are we talking about org.hibernate.search.query.hibernate.impl.Loader? The different sub-classes and their use are indeed hard wired. I guess I am intrigued how OGM comes into play here and how it would use a customizable loader.