I'm working on a project with elasticsearch where I have different types who are nested allover the index.
I have a type called Project. It's a rootdocument, but it's also nested different times in other documents on different levels.
I created at script which gets all new and modified records out of MySQL. It's easy to add the new ones to the index and modify the existing rootdocuments of project. But the nested ones are kind of a problem. Is there a way to retrieve all documents which contain a project?