Hi,

I am using Block in my index structure as I have many variations of
documents, which have the same content.
This means my parent document has the content I am searching in and I am
filtering and returning on the child documents:
<parent doc>
  <content>
    <child1>
      <filter>
    </child>
    <child2>
      <filter>
    </child>
</parent>

This works great and fast. The only issue I have is with the highlighting
component. As I am returning the childs the snippets also apply to the
childs, but I am actually searching in the parent.  (search query example:
{!child of=type:parent}q )

So is it possible to return the snippets based on the query in the parent?
Do I need to tweak the code for this? Or is there an open isssue and thus
work in progress?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Highlighting-on-Parent-document-tp4139784.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to