Sanne/hibernate-search — comment on commit 4f1763027d95daa21706ac7981c330a941a446a2
File: hibernate-search-engine/src/main/java/org/hibernate/search/cfg/spi/SearchConfiguration.java line 85
By Sanne:

This was wrong previously: look into org.hibernate.search.impl.SearchMappingBuilder.getSearchMapping(SearchConfiguration)

It is expected to be able to return other kinds of mapping, including a typeless Object which has a @Factory annotation on a method.