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
2
votes
2 answers

Can't get access to Data Hub Service using Java API

I'm trying to execute a search on my Data Hub Service using Java API. Unfortunately, the server returns the Unauthorized response. Here is the code: public Object doSearch() throws NoSuchAlgorithmException, KeyManagementException { String user…
Paweł Adamski
  • 3,285
  • 2
  • 28
  • 48
2
votes
0 answers

MarkLogic DHF 5.2.1 QuickStart - Local Setup - Flow not found

I tried to setup DHF 5.2.1 after upgrading from ML9 to ML10 in my local. QuickStart Setup was smooth and I created an entity and flow as well. When I ran the flow, I got the below error: Local message: Could not apply resource at documents. Server…
2
votes
1 answer

Marklogic mlreloadmodule is throwing error after adding ml unit tests

While running mlrelaodmodules i am getting below error > Execution failed for task ':mlLoadModules'. > > Local message: failed to apply resource at documents: Bad Request. Server Message: XDMP-CONFLICTINGUPDATES: >…
Ramz
  • 99
  • 1
  • 6
2
votes
1 answer

Could not initialize your DHF project using Gradle

I have installed the gradle wrapper as mentioned Create a DHF Project Using the DHF Gradle Plugin and then after that when i run the Gradle command gradlew.bat hubInit to initialize datahub Project I am getting error FAILURE: Build failed with an…
2
votes
1 answer

What MarkLogic features are not supported in Marklogic DHS

What MarkLogic features are not supported in Marklogic DHS. (Triggers, URI-rewriter, HTTP callouts to name a few)
Ashish Patil
  • 150
  • 9
2
votes
1 answer

Load Social Media Data like Facebook, Instagram , Twitter into Data HUB marklogic

Looking for an easy way to load Social Media Data from Facebook, Instagram and Twitter into Marklogic's data-hub. I could imagine that storing Social Media Data in to HDFS and then into MarkLogic would be a way to go for Huge amount of data. Using…
coen1821
  • 21
  • 2
2
votes
2 answers

MarkLogic - Passing variable to XML using Javascript

I am using javascript to read an XML, and create an envelope before storing in database. While creating headers, I need to populate the element "created-by" with the value of current user. let user = xdmp.getCurrentUser() I tried something like…
Bhanu
  • 427
  • 2
  • 8
2
votes
2 answers

Not able to run Harmonize flow in Data Hub Framework MarkLogic

I am trying to run Harmonize flow using Gradle in DHF and getting the below error- RESTAPI-SRVEXERR: (err:FOER0000) Extension Error: code: 404 message: Not Found document: The requested flow was not found 2018-06-29 11:57:22.627 Notice: in…
Shalini
  • 348
  • 1
  • 12
1
vote
0 answers

MarkLogic : DHF5 mlDeploy XDMP-VALIDATEBADTYPE: (err:XQDY0027) validate

We are trying to deploy our codebase which is currently on DHF 5.2.0 and we are getting below error :- Local message: failed to apply resource at internal/apply-transform: Bad Request. Server Message: XDMP-VALIDATEBADTYPE: (err:XQDY0027) validate {…
SinghVK
  • 313
  • 2
  • 12
1
vote
1 answer

MarkLogic directory-query with wildcard

I want to search in MarkLogic with using term-query in direcories that meet the pattern: /example/*/folder/ i.e. /example/foo/folder/ /example/foo/bar/folder/ and so on... I have something like this:
Aspir
  • 149
  • 9
1
vote
1 answer

MarkLogic cts query to return distinct values in Data Hub

I'm looking for a MarkLogic cts query that I can use as a source query in Data Hub to return the distinct values on a combination of json property paths. For example, I 200K+ docs with this structure: { "name": "Bentley University", "unit":…
1
vote
1 answer

MarkLogic DHF: How to get dynamic input from the command line, while executing any flow with steps

Step Definition is as below, { "lang" : "zxx", "name" : "test_harmonization", "description" : "", "type" : "CUSTOM", "version" : 3, "options" : { "additionalCollections" : [ ], "sourceQuery" :…
DevNinja
  • 1,459
  • 7
  • 10
1
vote
1 answer

How to call collector customize module in MARKLOGIC-DHF 5.6.1

I need to call external collector customize module in DHF 5.6.1. How can I do that? When I passed module in source query, it works but in main.sjs, I can only see 'uri' is coming within 'content' object. I can't see 'value' and 'context' within…
Manish
  • 59
  • 3
1
vote
0 answers

How do I change the default timeout setting in node.js in MarkLogic Grove?

I'm developing a UI application using MarkLogic Grove (React). I'm calling the REST API from the UI, but it times out in 2 minutes. I want to change this timeout of 2 minutes, how can I change it on Grove? I changed the timeout to 10 minutes in the…
1
vote
1 answer

How to select documents using cts query that are in CollectionA and not in CollectionB

I am pretty new to using cts queries so I need some help with something that is, I would think, pretty simple. I need to select document that are in CollectionA but are not in CollectionB. How would I modify the below query to insure the…
Doug Gibbs
  • 49
  • 4
1
2
3
12 13