Highlighting within an object() projection and on fields within nested fields

Description

In the initial Highlit API implementation we’ve blocked the highlights in the nested context (using highlight() inside object() projections), as well as highlights on the fields of nested objects that are of ObjectStructure.NESTED structure.

To add this back, we’d need to work with Elasticsearch’s inner hits

As for the Lucene case – we’d at least need to modify the queries used in highlighting to get rid of ToParentBlockJoinQuery or to extract its inner queries correctly…

Activity

Marko BekhtaJune 1, 2023 at 8:48 AM

+1 from me. I looked at it last week, just from an Elasticsearch perspective, and I’m not sure that all the cases would work (or it might be I’ve missed something ). So definitely would be better not to try and rush it in 6.2

Yoann RodièreJune 1, 2023 at 8:39 AM

I’m considering moving this to 7.0/7.1 because dealing with inner hits in Elasticsearch will probably be a major rework. WDYT?

Details

Assignee

Reporter

Components

Fix versions

Priority

Created April 21, 2023 at 2:31 PM
Updated December 12, 2023 at 10:41 AM