To provision the data domain, use the provisionDataStore operation in the Data Ingest Web Service. This operation creates the primordial records (such as PDRs and DDRs), and resets these records to their default values.
It is assumed that you run this operation after running clearDataStore. It is also assumed that you have previously exported your configuration defined in the schema records, and will import it after you run the provisionDataStore operation.
<ingest:provisionDataStore/>
To provision the data domain:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ingest="http://www.endeca.com/MDEX/ingest/2/0"> <soapenv:Header/> <soapenv:Body> <ingest:provisionDataStore> <ingest:OuterTransactionId>txId</ingest:OuterTransactionId> </ingest:provisionDataStore> </soapenv:Body> </soapenv:Envelope>
This request adds the primordial schema records in the data domain and sets these schema records to their defaults.
<ingest:provisionDataStoreResponse> <ingest:OuterTransactionId>txId</ingest:OuterTransactionId> <ingest:numPropertiesCreated>2</ingest:numPropertiesCreated> <ingest:numRecordsAffected>2</ingest:numRecordsAffected> <ingest:numRecordsDeleted>0</ingest:numRecordsDeleted> </ingest:provisionDataStoreResponse>
After you have run the provisionDataStore operation, you can import your configuration and run the Endeca Server update-spelling-dictionaries command to update the spelling dictionary.
If you use Reset Data Store in Integrator for running clearDataStore and provisionDataStore operations, then this connector also updates the spelling dictionary.