Re: child docs

2019-03-11 Thread Mikhail Khludnev
Hello, John. The choice is guided by the form of search results. You need to ask what you need to paginate, count numFound. You need to index as top level docs what you need to find. On Thu, Mar 7, 2019 at 9:08 PM John Blythe wrote: > hi all! > > curious about how child docs and performance inte

Re: child docs

2019-03-07 Thread John Blythe
thanks for the quick response! that was my inkling from what i've read thus far, but was curious if any benefits could make it potentially worthwhile. interested in other "gotchas" the nesting may cause us to incur. thanks again! -- John Blythe On Thu, Mar 7, 2019 at 10:23 AM Erick Erickson wr

Re: child docs

2019-03-07 Thread Erick Erickson
First of all, if your problem space allows it you're usually better off denormalizing for many reasons, not the least of which is that a change to any record in a parent/child relationship requires that the entire block be re-indexed anyway. Plus, nested docs have quite a number of “gotchas”. I