lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Benedetti <abenede...@apache.org>
Subject Re: highlighting on child document
Date Wed, 04 Nov 2015 17:12:52 GMT
My colleagues will correct me if i am wrong.
Solr Join is actually not the same as Relational Join.
This means that you can return in the result only one layer of entities (
the parent layer or the child layer ) even if your original search was on a
different layer.
You can search on children and return all the parents ( and vice versa) but
not returning both children and parents together.
Because of this I believe could be a problem to highlight the content that
was in the children.

As nested faceting is becoming more complete I believe soon , also nested
Highlighting could become a priority.
I encourage anyone that has a more updated view on this to correct me.

Cheers

On 4 November 2015 at 16:57, Yangrui Guo <guoyangrui@gmail.com> wrote:

> Hi
>
> I want to highlight matched terms on child documents because I need to
> determine which field matched the search terms. However when I use block
> join solr returned empty highlight fields. How can I use highlight with
> nested document? Or is there anyway to tell which field matched the query
> terms?
>
> Yangrui
>



-- 
--------------------------

Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

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