Re: Ordering in Nested Document

2020-02-27 Thread Gajendra Dadheech
Thanks, Mikhail for Reply. One more question here: Lets say xml is like this: 4 Regular Shirt Parent Black 8 Solid Rug Parent Solid 1 Regular color Shirts Parent 2 Child Red> 3 Child Blue> 5 Rugs Parent 6 Child Abstract 7 Child Printed Now i want to write a query which fetched

Re: Ordering in Nested Document

2020-02-24 Thread Mikhail Khludnev
You may try. Content-type should be absolutely the same across parents and child-free. It may work now. Earlier, mixing blocks and childfrees in one index wasn't supported. On Mon, Feb 24, 2020 at 2:57 AM Gajendra Dadheech wrote: > That extra s was intentional, should have added a better name. >

Re: Ordering in Nested Document

2020-02-24 Thread Gajendra Dadheech
That extra s was intentional, should have added a better name. So ideally we shouldn't have childfree and blocks together while indexing? Or in the whole index they shouldn't be together, i.e. We should have atleast one child doc for all if any of doc has one? On Mon, Feb 24, 2020 at 4:24 PM Mikh

Re: Ordering in Nested Document

2020-02-24 Thread Mikhail Khludnev
Hello, Gajendra. Pics doesn't come through mailing list. May it caused by unnecessary s *s* parentDocument? At least earlier mixing childfrees and blocks wasn't allowed, and caused some troubles. Usually, child stub used to keep childfrees in the index. On Mon, Feb 24, 2020 at 2:22 AM Gajendra Da