You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by "Oskari Niskanen (TAU)" <os...@tuni.fi> on 2022/12/15 09:52:45 UTC

Stuck on indexing nested child documents without setting id-field

Hello everyone!

I am facing an issue with Solr 8.11 and I cannot progress no matter how hard I've tried. I have asked help from Reddit, StackOverflow, my co-workers and IRC, but no avail.

My main issue is that I haven't found a way to index nested child documents without providing the id-field. I want to have my parent and child document identifiers automatically generated. Automatically generating child document id-field is supposed to be possible according to Solr docs
"In the examples on this page, the IDs of child documents are always provided. However, you need not generate such IDs; you can let Solr populate them automatically. It will concatenate the ID of its parent with a separator and path information that should be unique. Try it out for yourself!"
, but I have not been able to get it working.

Detailed info about my issue can be found here (on StackOverflow):
https://stackoverflow.com/questions/74642199/using-uuidupdateprocessorfactory-to-automatically-generate-id-for-child-document

Thanks in advance!


Best regards,
Oskari Niskanen