Michae, Regarding the former, it's not a feature of [child] result transformer, it might be separately requested, but I prefer to provide via generic SOLR-8202.
Regarding highlighting, I can't comment, I only saw that there is some highlighting case for {!parent} queries. Sorry. On Mon, Mar 14, 2016 at 6:13 PM, michael solomon <micheal...@gmail.com> wrote: > Hi, > how can I *highlight* and *return* the most relevant child with > BlockJoinQuery. > for this: > > > {!parent which="is_parent:*" score=max}(title:(terms) > > > I expect to get: > > . > . > . > docs:[ > > { > doc parent > _childDocuments_:{the most relevant child} > } > { > doc parent2 > _childDocuments_:{the most relevant child} > } > . > . > . > > ] > highlight:{ > > {doc parent: highlight from the children} > {doc parent: highlight from the children} > > } > > Thanks a lot, > Michae > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>