lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michael solomon <micheal...@gmail.com>
Subject Re: return and highlight the most relevant child with BlockJoinQuery
Date Tue, 15 Mar 2016 07:27:57 GMT
Thanks Mikhail,
Regarding the former, :) Do you can elaborate? I didn't understand the
context of the JIRA issue that you mentioned(SOLR-8202).

Regarding highlighting, I think it's possible because:
https://issues.apache.org/jira/browse/LUCENE-5929
BUT HOW?

On Mon, Mar 14, 2016 at 7:28 PM, Mikhail Khludnev <
mkhludnev@griddynamics.com> wrote:

> 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 <micheal540@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>
> <mkhludnev@griddynamics.com>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message