Search code examples
marklogicmarklogic-dhf

Integrating Smart Mastering to DHF project


I am newbie to Smart Mastering, but already stuck in the basic procedure. I have the latest ML9 and DHF already installed on my laptop, already created my DHF project via Quickstart UI.

  1. To call Smart Mastering APIs from my existing project's writer plugin, what should I do in advance?

  2. When loading match/merge option files, should I better create as independent input flow?


Solution

  • As mentioned by @justdewit, the example DHF project should have what you need. For an example writer, take a look at https://github.com/marklogic-community/smart-mastering-core/blob/master/examples/dhf-flow/plugins/entities/Organization/harmonize/SmartMaster/writer.sjs.