| In particular:
- the explanation projection: org.hibernate.search.engine.ProjectionConstants#EXPLANATION
- org.hibernate.search.jpa.FullTextQuery#explain
Regarding APIs, maybe this should just return an implementation-specific object (Explanation for Lucene, String or JsonObject for Elasticsearch, …). Or be handled through extensions. |