RE: Return specific field from child documents.

2017-02-01 Thread Mikhail Khludnev
: Tuesday, January 31, 2017 3:15 PM To: solr-user Subject: Re: Return specific field from child documents. ok. what about emp.q={!child of=content_type:parent}{!terms f=id v=$row.id} On Tue, Jan 31, 2017 at 11:22 AM, Preeti Bhat wrote: > Hi Mikhail, > > Thanks for reply, but It doesn't

RE: Return specific field from child documents.

2017-01-31 Thread Preeti Bhat
Same result. Thanks, Preeti -Original Message- From: Mikhail Khludnev [mailto:m...@apache.org] Sent: Tuesday, January 31, 2017 3:15 PM To: solr-user Subject: Re: Return specific field from child documents. ok. what about emp.q={!child of=content_type:parent}{!terms f=id v=$row.id} On

Re: Return specific field from child documents.

2017-01-31 Thread Mikhail Khludnev
"emp.q":"{!child of=content_type:parent}{!term f=contact_id v=$ > row.id}", > "wt":"json"}}, > "response":{"numFound":1,"start":0,"docs":[ > { > "id":"7888"

RE: Return specific field from child documents.

2017-01-31 Thread Preeti Bhat
rstName,emp:[subquery]", "emp.q":"{!child of=content_type:parent}{!term f=contact_id v=$row.id}", "wt":"json"}}, "response":{"numFound":1,"start":0,"docs":[ { "id"

Re: Return specific field from child documents.

2017-01-31 Thread Mikhail Khludnev
email":["temper.tt...@tempt.com"] > } > ] > } > > Thanks and Regards, > Preeti Bhat > > -Original Message- > From: Mikhail Khludnev [mailto:m...@apache.org] > Sent: Monday, January 30, 2017 5:49 PM > To: solr-user > Subject: Re: Return spe

RE: Return specific field from child documents.

2017-01-30 Thread Preeti Bhat
}, {"email":["temper.tt...@tempt.com"] } ] } Thanks and Regards, Preeti Bhat -Original Message- From: Mikhail Khludnev [mailto:m...@apache.org] Sent: Monday, January 30, 2017 5:49 PM To: solr-user Subject: Re: Return specific field from child documents. Hello, You hardl

Re: Return specific field from child documents.

2017-01-30 Thread Mikhail Khludnev
Hello, You hardly get any gain limiting child field output. You can do that with [subquery] result transformer. On Mon, Jan 30, 2017 at 11:09 AM, Preeti Bhat wrote: > Hi All, > > I am trying out the nested documents concept for SOLR. I am able to show > the specific field for the parent documen

Return specific field from child documents.

2017-01-30 Thread Preeti Bhat
Hi All, I am trying out the nested documents concept for SOLR. I am able to show the specific field for the parent document like "FirstName","LastName" but I am not able to show the specific field in fl for child. I would like to retrieve the email from the _childDocuments. Could someone pleas