parent-child highlighting

classic Classic list List threaded Threaded
3 messages Options
nmz
Reply | Threaded
Open this post in threaded view
|

parent-child highlighting

nmz
In a parent, child doc mapping, is it possible to highlight the
matches in the child document?
nmz
Reply | Threaded
Open this post in threaded view
|

Re: parent-child highlighting

nmz
I doubt it is an open issue : https://github.com/elasticsearch/elasticsearch/issues/1764

On May 15, 11:12 am, nmz <[hidden email]> wrote:
> In a parent, child doc mapping, is it possible to highlight the
> matches in the child document?
Reply | Threaded
Open this post in threaded view
|

Re: parent-child highlighting

vineeth mohan
Its not possible as of now.
You will have to do the task in 2 web calls.
First one which runs the has_children query. Here you need to collect the docid.
Second web call should have _parent with all the matching doc ID previously gathered

Thanks
           Vineeth

On Tue, May 15, 2012 at 3:40 PM, nmz <[hidden email]> wrote:
I doubt it is an open issue : https://github.com/elasticsearch/elasticsearch/issues/1764

On May 15, 11:12 am, nmz <[hidden email]> wrote:
> In a parent, child doc mapping, is it possible to highlight the
> matches in the child document?