Right, Shawn. That's how it works https://lucene.apache.org/core/7_4_0/core/org/apache/lucene/index/IndexWriter.html#updateDocuments-org.apache.lucene.index.Term-java.lang.Iterable- And it's really fast in query time.
On Thu, Dec 8, 2022 at 4:06 PM Shawn Heisey <apa...@elyograg.org> wrote: > On 12/8/22 05:58, Shawn Heisey wrote: > > So you can't just update a child document, you have to update all the > > children and all the parents at the same time, so the new documents > > are all in the same segment. > > That's a little unclear and sounds like a draconian requirement. :) I > meant that all children must be in the same segment as their parent. I > think Solr might support the idea of multiple nesting levels ... if so, > then the ultimate parent document and all its descendants need to be in > the same segment. > > Thanks, > Shawn > > -- Sincerely yours Mikhail Khludnev