SolrJ allows a direct linkage between parent and child document using
SolrInputDocument.addChildDocument(...) .

We, however, construct our request via a raw UpdateRequest() as that gives
us a bit more flexibility. I'm investigating how best to add nested docs
using this approach.

>From my understanding (correct me if I'm wrong), the child doc has to be
created at  the same time as the parent (see
https://www.youtube.com/watch?v=74Wyk4OEtv8 @ 21 minutes). I'm hoping that
despite this,  that the child can be modified updated later on, without
affecting the main document. Our interest in this is that our main document
would contain indexed text (time consuming to index at scale) whereas if we
could separately update the (smaller) child document, we could save a
significant amount of time.

Thoughts?

Thanks

Reply via email to