I have SC10 running in a multi-region setup. 1x CM and 1x CD in the UK. 1x CD and 1x IDX in the US.
The CM acts as the indexing instance for the both CM and CD in the UK. The IDX instance is a dedicated indexing instance for the US CD.
In SC8.2, if I needed to perform a full index rebuild in the US, I'd log into the Sitecore shell on the US IDX server and load the indexing manager from the control panel, and trigger the rebuild that way. In SC10, it appears that Sitecore have taken the decision to completely remove any access to the
/sitecore/... urls on any CD or dedicated IDX instances. This poses a problem: how am I supposed to trigger a rebuild without the UI?
The Sitecore docs here (https://doc.sitecore.com/xp/en/developers/101/platform-administration-and-architecture/rebuild-search-indexes.html) state the following options:
- Use the Sitecore Control Panel
- Use custom code
- Use the Content Editor
- Use the CLI
There's also an extra option I've found:
RemoteRebuildstrategy and trigger from the CM
Without access to the UI, I can't use Sitecore Control Panel or Content Editor. Because the
core db is not shared between CM (UK) and IDX (US), I can't use
RemoteRebuild strategy. Sitecore CLI seems more experimental than anything else and requires installation into the CM - the docs don't talk about it interacting with CDs or IDX instances, so I can't use that either.
Is using custom code seriously the only way I can trigger a full index rebuild?