Expose backends/indexes through the ORM mapper APIs

Description

Currently you can't access the backend/index from the ORM mapper, which is a bit annoying since it prevents from accessing the Elasticsearch REST client, in particular.

Ideally, we should probably introduce a public API representing the mapping (SearchMapping) accessible through either Search.mapping(entityManagerFactory) or Search.mapping(entityManager). Then we would declare in SearchMapping a getBackend(String backendName) method and a getIndexManager(String indexName) method.
The best candidate for implementing SearchMapping is probably HibernateOrmMapping.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Priority

Created July 17, 2019 at 2:23 PM
Updated October 25, 2019 at 3:07 PM
Resolved September 26, 2019 at 11:31 AM