Re: Retrieving Results from both child and parent

2018-06-19 Thread Rushikesh Garadade
I found one solution, however i am not sure whether this is optimized/corrct solution to it. Return a mails which contains a word 'pdf' anywhere : *({!parent which=internetMessageId:* v=pdf}) OR (internetMessageId:* AND pdf)* a) ({!parent which=internetMessageId:* v=pdf}) ==> return mails whose a

Retrieving Results from both child and parent

2018-06-19 Thread Rushikesh Garadade
Hello, I have stored emails in solr, with its attachments as child documents. As per solr structure these attachments got stored in same lines as of mails. Ex: { "id":"1528801242887_f662e5fe-b5d7-4494-acab-c1a99e6cd025", "attachmentName ":"example_multipage.doc", "attachmentType":"application/mswor