code: def add_partitioning_indexes(portal):
      
      logger.info("Adding partitioning indexes")
  
      add_index(portal, catalog_id=CATALOG_ANALYSIS_LISTING,
                index_name="getAncestorsUIDs",
                index_attribute="getAncestorsUIDs",
                index_metatype="KeywordIndex")
  
      add_index(portal, catalog_id=CATALOG_ANALYSIS_REQUEST_LISTING,
                index_name="isRootAncestor",
                index_attribute="isRootAncestor",
                index_metatype="BooleanIndex")
docs: Adds the indexes for partitioning