Event Handlers

Top  Previous  Next

The presence of the networkedplanet.topicmapindex.endpoint in the web.config file also causes event handlers to be hooked in to events exposed by the TMCore EPiServer Module.

The event handler analyzes each transaction sent to TMService to see which topics are affected. When a topic is detected to be changed the TMIS is requested to reindex the topic. This ensures that the index maintained is always synchronized with the topic map database.

It is important, if changes are made to the topic map outside of EPiServer, that reindexing requests are sent to the index server to avoid the index server and TMCore becoming out of sync.