Resetting the Data Domain

The clearDataStore and provisionDataStore operations of the Data Ingest Web Service are intended to be used together for removing the data and configuration from the data domain while keeping the Dgraph process of the data domain running on the Oracle Endeca Server.

Running these operations implies that you have exported the configuration and will import it, after clearing and provisioning the data domain.

Note: Clearing the data domain without provisioning it again leaves the data domain in an invalid state, preventing all further operations, including importing the configuration.

In a typical scenario, clearDataStore is run as part of updating an existing data domain without having to stop the Dgraph process or remove the configuration. This scenario implies that you export your configuration, remove all data and configuration records with clearDataStore, provision the data domain with provisionDataStore, and import the configuration.

While you can send these operations directly to the data domain, both of these operations are utilized by the Reset Data Store connector in Integrator. The connector is used for removing the records and the configuration from the data domain and provisioning the data domain while keeping the Dgraph process for the data domain running. For more information on the connector, see the Oracle Endeca Information Discovery Integrator User's Guide.

It is recommended to run clearDataStore and provisionDataStore in conjunction, using the Reset Data Store connector in Integrator. In addition, it is recommended to run these operations within an outer transaction. You can start an outer transaction through the Transaction RunGraph connector in Integrator.