I made a pull request enter link description here for an the ElasticSuite module to make a discount of configurables flag dependent on simples.
Now of course the configurable has to be reindexed if on of the simples are changed.
Is there any Magento technique do have such cascading index triggers or does everything has to be done manually?
Edit: maybe mview.xml can help
php bin/magento index:reindex catalog_product_price. Not 100% on that though. So not put as answer.