lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <mkhlud...@griddynamics.com>
Subject Re: Block Join Score & Highlighting
Date Thu, 01 May 2014 14:18:19 GMT
Hello,

Score support is addressed at
https://issues.apache.org/jira/browse/SOLR-5882.
 Highlighting is another story. be aware of
http://heliosearch.org/expand-block-join/ it might somehow useful for your
problem.


On Thu, May 1, 2014 at 11:32 AM, StrW_dev <r.j.bamberg@structweb.nl> wrote:

> 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.
>



-- 
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