| So... I took a look at this. Mainly by trying to reorganize the SearchIntegratorBuilder.initDocumentBuilders to have the IndexManagers information earlier and exploit them in the fieldBridge metadata construction. While extracting the IndexManager configuration and exploiting it at initialization seems doable for root entities, doing so for contained entities is not feasible as they can potentially be contained in 2 entities which might be using 2 different IndexManagers. And we won't know it except at runtime. Did I miss something? |