The Forge applications demonstrate how you would run baseline and partial updates using Record Store instances as the storage mechanism. The order of running these applications is the following:
Run the
run-sample
script in theforge-to-recordstore
application. This populates a Record Store with three baseline records.Run the
run-sample
script in therecordstore-to-forge
application. This causes Forge to run a baseline update using the generation in a Record Store instance. In an actual depolyment, you would run Dgidx on the Forge records and then start the MDEX Engine with the output.Run the
run-partial-sample
script in theforge-to-recordstore
application. This adds an incremental record to the Record Store.Run the
run-partial-sample
script in therecordstore-to-forge
application. This causes Forge to run a partial update using the incremental record from the Record Store. In an actual deployment, a Dgraph update command would then be issued so that the MDEX Engine could upload the incremental record.
Note
These scripts do not start or update the MDEX Engine.