Re: Parent Child Schema Design

2016-01-07 Thread Yonik Seeley
On Thu, Jan 7, 2016 at 1:50 PM, Steven White wrote: > How nested can a parent / child document be? And how many child documents > can be in a parent node? No real limit (other than the normal ones... you can't have more than 2B docs in a single segment)... probably just a practical limit based o

Re: Parent Child Schema Design

2016-01-07 Thread Binoy Dalal
To clarify, what I meant was any field that you wish to use either in your child or parent document has to already be defined in the schema. You need to define these fields normally, meaning no you are not required to make any special changes to the field definition for use in either parent or chi

Re: Parent Child Schema Design

2016-01-07 Thread Binoy Dalal
Yes. Provided your fields are already defined. On Thu, 7 Jan 2016, 17:52 Pranaya Behera wrote: > Hi Binay, >Are you saying there is no need to add anything to the > existing schema that I have ? While indexing all I have to provide is a > _childDocuments_ key and the key => value

Re: Parent Child Schema Design

2016-01-07 Thread Pranaya Behera
Hi Binay, Are you saying there is no need to add anything to the existing schema that I have ? While indexing all I have to provide is a _childDocuments_ key and the key => value pair as per I want without needing to specify it in the schema.xml ? On Thursday 07 January 2016 01:

Parent Child Schema Design

2016-01-06 Thread Pranaya Behera
Hi, I have read yonik.com/solr-nested-objects/ which states that there is no need for additional schema changes other than having a _root_ which is already present in the schema.xml. But it never specified on for the child elements what would the schema look like. And the post actually us