We are facing this error during setup upgrade command while installing this extension.
Unable to apply data patch Amasty\Mostviewed\Setup\Patch\Data\CreateGroupExamples for module Amasty_Mostviewed. Original exception message: amasty_mostviewed_rule_product indexer does not exist.
Magento 2.4.7-p3