Hi Dima, If your schema is configured correctly for atomic updates, you can add child documents atomically as well. If you want to add/replace/delete individual child documents, you'll have to use the JSON request format because those updates aren't supported through XML (SOLR-12677 <https://issues.apache.org/jira/browse/SOLR-12677>).
Thomas Op vr 23 dec. 2022 om 02:56 schreef dmitri maziuk <dmitri.maz...@gmail.com>: > Hi all, > > has anyone ever gotten child documents to work in 8.11? I'm trying to > add them in a separate batch w/ setting _root_=$ID_OF_PARENT, > _nest_path_=$SOMETHING and so far I'm unable to get anything from The > Fine Manual's examples > (https://solr.apache.org/guide/8_11/searching-nested-documents.html) -- > at best don't do anything useful. > > At worst, now that I tried making _root_ indexed and stored, the parent > documents actually have _root_:$ID_OF_PARENT??? (There are no > copyfields.) Does this make any sense? > > Any hints? > > I'll try to rewrite the importer script to insert them as nested > documents instead of separately, and see if that makes any difference. > But even if that works as advertised, it's not really a usable option > because of pymssql query overhead: with "only" 2 sub-queries per parent > document I expect "only" a 3x overall slowdown. > > Dima >