Enabling a data domain

Enabling a data domain is a means of starting all Dgraph processes serving this data domain.

When you initially create a data domain, or clone an existing data domain, and don't specify that it should be disabled, the data domain is enabled by default — the Endeca Server creates the data domain and enables it. A data domain is enabled when the Endeca Server starts the Dgraph processes serving this domain.

When you disable a data domain, it remains registered with the Endeca Server, but its Dgraph processes are stopped. The resources the Endeca Server reserves for this data domain remain allocated to it — when you subsequently enable the data domain, it continues to use these resources.

To enable a data domain:

Use one of these options:
Option Description
enableDataDomain of the Manage Web Service, or endeca-cmd enable-dd name Use this option to enable a previously disabled data domain.
createDataDomain of the Manage Web Service, or endeca-cmd create-dd --is-enabled true When you create a new data domain, you can enable it. If you don't explicitly specify whether the data domain should be enabled, it is enabled by default.
cloneDataDomain of the Manage Web Service, or endeca-cmd clone-dd --is-enabled true When you clone an existing data domain, you can enable it. If you don't explicitly specify whether the data domain should be enabled, it is enabled by default.