Search code examples
cluster-computingatgendeca

Continuous Query Processing with baseline indexing in Endeca


I wanted to whether if it is possible to have Continuous Query Processing with baseline indexing in Endeca cluster environment. I have an Endeca central server and multiple Endeca agent only instances. If I run Baseline Indexing in the central server, it re-indexes the records in all the MDEX engines(all agents) simultaneously. I wanted to know if I can do it alternately on the agents so that while the records are getting indexed on one machine. The other system can still serve the user queries with the old Index. And the New Index kicks in only when we have completed indexing on all the machine. Continues Query Processing is available in partial update, is something like this possible for baseline indexing?


Solution

  • I think Dgraph's restartGroup property might help here.

    The restartGroup property indicates the Dgraph's membership in a restart group. When applying a new index or configuration updates to a cluster of Dgraphs (or when updating a cluster of Dgraphs with a provisioning change such as a new or modified process argument), the Dgraph cluster object applies changes simultaneously to all Dgraphs in a restart group.