| This was mostly solved in Search 6:
- The main entry point for users is now mapping-specific; for Hibernate ORM mappings it is org.hibernate.search.v6poc.entity.orm.mapping.HibernateOrmMapping.
- Low-level APIs are available in SearchMappingRepository
But we may want to revisit this:
- SearchMappingRepository is not a good name anymore, since the class now also enables access to the backends.
- I am not sure ORM users can access the SearchMappingRepository from the APIs in the hibernate-search-orm module.
Note that SearchMappingRepository and mappings must remain separated, because one Search instance may host multiple mappings (see the technical documentation). |