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 child docs.
Once done, you can use these fields in the parent as well as child docs.

I suggest you first try out the example given in yoniks blog. It's fairly
simple and will give you a good idea of the concepts and the steps
involved. Once you're confident in your understanding of the concepts,
you'll be able to implement your own setup easily.

On Thu, 7 Jan 2016, 21:37 Tom Evans <tevans...@googlemail.com> wrote:

> On Thu, Jan 7, 2016 at 3:53 PM, Pranaya Behera <pranaya.beh...@igp.com>
> wrote:
> > Can you give an example ? I have already mentioned what I want to do in
> my
> > first email ? Confused in this part where you said provided fields are
> > already defined.
>
> Solr collections are homogeneous, so child documents have the same
> schema as parent documents. If you need to have different fields in
> the parents/children, you will need to define all the disjoint fields
> as required="false".
>
> Cheers
>
> Tom
>
-- 
Regards,
Binoy Dalal

Reply via email to