This is kind of tackling the same problem as ✨ Impossible to index attachment in nested entity reference Needs review but I'm opening a separate issue because i got a patch that will solve the problem of indexing files that are referenced on a node which again is referenced on the indexed entity. So it will for example work for this usecase: group content > node > file.
As pointed out in ✨ Impossible to index attachment in nested entity reference Needs review this should be implemented in a more generic way, but solving this for node references will already cover quite a lot of usecases i think and thus i'm uploading the patch i got here as a first step towards a completely entity type agnostic solution that is working recursively.
Extend FileExtractor.php to support files referenced in nodes that are referenced on the indexed entity as a first step.
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.