Skip to main content
Version: 4.50.0

Calculate ancestors

This accelerator calculates and stores the source or target ancestors of CONTAINER and RECORD documents. The source ancestors are calculated by taking the objects with an empty source.parentIds array as a starting point. The target ancestors are calculated by taking the ROOT documents as a starting point.

Settings

mongoConnection

The Mongo connection string including the database name to connect to.

statusField

Field used on ROOT and CONTAINER documents to keep track of the calculation process.

sourceOrTarget

The part of the documents to calculate ancestors for. Can be either source or target.