lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StrW_dev <r.j.bamb...@structweb.nl>
Subject Block Join Score & Highlighting
Date Thu, 01 May 2014 07:32:17 GMT
Hello,

I am trying out block joins for my index at the moment as I have many
documents that are mainly variations of the same search content. In my case
denormalization is not an option, so I am using nested documents.

The structure looks like this:
<doc>
    content
    <doc>
    filter
    boost
    required info
    </doc>
<doc>

I search within the parent document and filter on the child documents. I get
the correct documents this way, but I have issues with scoring and
highlighting.
I am currently searching on the parent document and returning the child
document, as they hold specific information I require. I use the boost field
of the child to boost the score of the documents individually.

1. I want the highlighting snippet from the parent document, but the
snippets returned are empty as they are based on the childs.
2. I also want to use the score from the parent document search together
with the child boost, but now I only get the score from filtering the child
nodes (which is 0).

I also tried it the other way around; returning the parent node and only
filtering on the child node, but in that case I can't boost on the specific
child or return the information within that child that I need.

Are there options to work around these issues? Or are they just not
supported at the moment?




--
View this message in context: http://lucene.472066.n3.nabble.com/Block-Join-Score-Highlighting-tp4134045.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message