search
AI OnAI Off
It is the intention. Some CG developers could explain better than me but it's intentional that the indexing to CG will be "seamless" - e.g. automatically without manually triggering it.
If you have to, then you can workaround by trigger a publish event via IContentEvents.RaiseContentEvent. It's not optimal but should work for your purpose.
Hi,
We're on CMS 13.3.0 / Commerce 15.2.0, using Optimizely Graph (
Optimizely.Graph.Cms/Optimizely.Graph.AspNetCore/Optimizely.Graph.Commerce, all 13.3.0/15.2.0).In 13.0.0–13.2.0,
Optimizely.Graph.Cms.Content.IContentIndexerandIndexableContentReferencewere public, and we used them to push a specific content item to Graph on demand — e.g. after an external system syncs inventory data outside the normal CMS publish flow, and we want that item's Graph index refreshed immediately rather than waiting for the next scheduled sync.As of 13.3.0, both types are
internal(confirmed via reflection on the actual assemblies, not just docs — and this holds all the way through the current 13.5.1). We can't find any public API anywhere in theOptimizely.Graph.*packages that replaces this.From what we can tell, the supported model now is purely event-driven: content gets reindexed automatically by an internal
EventIndexerwhen it goes through the normal publish pipeline (IContentRepository.Save(..., SaveAction.Publish, ...)), plus a periodic internal job that catches anything missed. Our current workaround is to republish the affected items (SaveAction.Publish | SaveAction.ForceCurrentVersion, so we don't bloat version history) purely to force them through that pipeline — but this also fires every otherPublishedContentsubscriber for that content type, and adds real latency when republishing many items in a batch.Questions for anyone who's hit this:
Save?Savecall per item?