Questions tagged [marklogic-dhf]

Use for questions about the MarkLogic Data Hub Framework. More people will see your question if you also tag it with "marklogic".

The MarkLogic Data Hub Framework is a data integration framework and tool-set to quickly and efficiently integrate data from many sources into a single MarkLogic database, and expose that data.

The MarkLogic Data Hub Framework lives at https://github.com/marklogic/marklogic-data-hub

190 questions
0
votes
1 answer

MarkLogic : Array specification in XML to JSON conversion

MarkLogic Version : 9.0-6.2 We have an XML document with the element 'CustomerInfo' appearing in multiple places. As per the schema definition, this element is an array (maxOccurs="unbounded") at one place but a regular element in all other…
Bhanu
  • 427
  • 2
  • 8
0
votes
1 answer

Marklogic Optic Query in Server-Side JavaScript(.sjs) getting job failed

I am getting job failed while running Optic Query in .sjs file. It seems syntax issue in .sjs file for optic query. Can you please help me to provide the correct syntax to run optic query in .sjs file? Please find below code snippet. const op =…
0
votes
1 answer

How to access the modules deployed to the FINAL database in DatahubFramework

I'm working with the Marklogic's DatahubFramework and I deployed the self made Javascript modules. When I invoke this resources through the 8010 port (STAGING DB) everythings seems to work fine but when the 8011 port (FINAL DB) is invoked I get…
capl
  • 1
  • 2
0
votes
1 answer

MarkLogic Data Hub - Quick Start UI not coming up

I want to setup the Data Hub on my Linux machine. I use the Quick start version : quick-start-4.3.1.war Java JDK : 1.8.0_161 When I run the following command in the Linux terminal: java - jar quick-start-4.3.1.war I receive QuickStart UI is…
0
votes
1 answer

MarkLogic - Access for xdmp.save function

I have an informatica script that runs with user infa1 The informatica script invokes a MarkLogic custom REST API by connecting to MarkLogic server with user marklogic1 The custom REST API has an xdmp.save() function that attempts to save…
Bhanu
  • 427
  • 2
  • 8
0
votes
1 answer

MarkLogic : Apply 'AND' query on collections using options file

We have bitemporal enabled on customer and billing collections and have a customer '123456' in the latest collection of both customer and billing collections. We are trying to use an option file to pull the LATEST document of the customer from the…
Bhanu
  • 427
  • 2
  • 8
0
votes
1 answer

MarkLogic - Permanently delete all documents from temporal collection

MarkLogic version : 9.0-6.2 Is there a way to delete all documents physically from a temporal collection, or even delete the collection itself (like xdmp.collectionDelete on non-temporal collection). We tried temporal.collectionRemove, but that…
Bhanu
  • 427
  • 2
  • 8
0
votes
2 answers

Gradle mlReloadModules not loading REST extensions

MarkLogic version - 9.0-6.2 DHF Version : 2.0.6 (id 'com.marklogic.ml-data-hub' version '2.0.6') Trying to deploy changes through 'gradle mlReloadModules' command but noticed that the REST extension billing.sjs is not being deployed. This file…
Bhanu
  • 427
  • 2
  • 8
0
votes
1 answer

MarkLogic : Switching between databases with xdmp.eval

MarkLogic version : 9.0-6.2 We have a custom REST API that reads document from STAGING, then updates a few documents in FINAL, then runs an xdmp.documentRemoveCollections on the STAGING document. Step 1: Start from STAGING DB. Read the…
Bhanu
  • 427
  • 2
  • 8
0
votes
1 answer

MarkLogic : create temporal collection in a specific database

MarkLogic version : 9.0-6.2 My requirement is to enable bi-temporal on FINAL database, so I created the required filed range indexes and axes. Finally, I created a temporal collection as below (executed in query concole with data-hub-FINAL as the…
Bhanu
  • 427
  • 2
  • 8
0
votes
1 answer

MarkLogic : Harmonize flow to skip writer

MarkLogic version : 9.0-6.2 We have a harmonize flow where we are preparing 'source' variable in content.sjs to be passed on to writer.sjs. I have a scenario where I should skip the writer (for example, if the document already exixts in final db and…
Bhanu
  • 427
  • 2
  • 8
0
votes
1 answer

How to use a MarkLogic DataHub importFlow from inside another database

I have a usecase that needs to query some data in one database and then use this data as a new input into the MarkLogic DataHub pipeline. I created a working import and harmonization flow. Now I want to run the import flow from another database to…
Hugo Koopmans
  • 1,349
  • 1
  • 15
  • 27
0
votes
1 answer

MarkLogic - setting PATH variable for Gradle tasks

MarkLogic version - 9.0-6.2 Gradle version - 4.5.1 We have a linux batch server where data hub, mlcp, gradle are deployed. Location of datahub folder is /path1/data-hub. This is where I have data hub components (plugins, user-config etc. along with…
Bhanu
  • 427
  • 2
  • 8
0
votes
2 answers

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. To call Smart Mastering APIs from my existing project's writer…
user8420733
0
votes
0 answers

Why are 2 uri's are passed to the trigger when working with temporal documents?

We use triggers to trigger a DHF Harmonize flow once a raw input document arrives. The harmonize flow runs fine and a harmonized entity is created, however we also have errors in the log for a failed harmonize. The input documents are unitemporal…
Ilse Terra
  • 11
  • 1