Re: Using nested subdocuments in SOLR

2016-10-24 Thread Erick Erickson
rent ids as same. For example, the Company > Link Id could be 1 and so could be id=1 > > > Thanks and Regards, > Preeti Bhat > > -Original Message- > From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] > Sent: Monday, October 24, 2016 6:06 PM > To: solr

RE: Using nested subdocuments in SOLR

2016-10-24 Thread Preeti Bhat
d parent ids as same. For example, the Company Link Id could be 1 and so could be id=1 Thanks and Regards, Preeti Bhat -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Monday, October 24, 2016 6:06 PM To: solr-user Subject: Re: Using nested subdocuments in S

Re: Using nested subdocuments in SOLR

2016-10-24 Thread Alexandre Rafalovitch
(tl;dr) Yes Solr supports nested documents, with the company link instances becoming children records/documents. However, they are stored separately, so the parent and child documents would be searched and return separately unless you use appropriate queries, document transformers, etc. You'd als

Using nested subdocuments in SOLR

2016-10-24 Thread Preeti Bhat
HI All, I have a requirement which needs the documents to be stored in the below format. Could someone please advise on whether this is possible in SOLR? { Id:1 Name:"ABC" CompanyLink:[ {CompanyId:2, email:abc@dba.com} , {CompanyId:4, email:abc@dbcc.com} ] } Is t