Questions tagged [marklogic-10]

Indicates questions specific to MarkLogic 10; use with the [MarkLogic] tag but not in place of.

MarkLogic 10 is the latest release of MarkLogic's NoSQL document database.

198 questions
2
votes
1 answer

Does MarkLogic store JSON natively?

I was exploring how size in ML DB increases when we used XML data model and JSON data model. I found that the JSON files are taking more space than XML documents. Below are the steps of this experiment - Select a XML document of your choice and…
Anuj Kumar
  • 33
  • 5
2
votes
0 answers

Is there any way to do authentication other than password authentication with Marklogic Grove?

I am developing a UI application using MarkLogic Grove(React). By default, password authentication is used when logging in to grove. I would like to change this part to a more secure method such as multi-factor authentication or one-time…
2
votes
1 answer

Machine Learning on RDF store to detect Pattern

I am new to machine learning, so please excuse my level of details here. I am looking to see if there is a way to develop and train a machine learning model to look at the RDF graph and start detecting graph patterns and flag a particular node if it…
Kiran
  • 2,997
  • 6
  • 31
  • 62
1
vote
1 answer

CORB is giving error for PRE-BATCH-MODULE

I am running the CORB but I am getting the URI error. Below is the code and CORB…
1
vote
1 answer

Tried to run Corb in windows machine

I tried running sample corb example by following Corb2 documentation. I have MarkLogic 10 in my machine and for that I had downloaded the following jars: marklogic-corb-2.3.2.jar marklogic-xcc-10.0.10 And created uris.xqy and transform.xqy files…
Jayabalan
  • 361
  • 1
  • 7
1
vote
1 answer

cts:uris with namespace binding

I have multiple XML documents stored in MarkLogic, my requirement is to get the URIs of the document when there is a specific element in it, all XMLs are stored with namespace in it. sample XML from MarkLogic
DevNinja
  • 1,459
  • 7
  • 10
1
vote
2 answers

How to get subject value from cts:triples output

I am executing below query to get the list of triples from "testCollection" where predicate is "testName". cts:triples((), sem:iri("testName"), (), (), (), cts:and-query(cts:collection-query("testCollection"))). I can see the result in qconsole as…
DevNinja
  • 1,459
  • 7
  • 10
1
vote
1 answer

How can I migrate a Marklogic database from a Windows-based server to a Linux-based server?

Is it possible to migrate approximately 2TB of data from a Windows-based MarkLogic database to a Linux-based server, considering the platform change from Windows to Linux? If so, could you please provide the steps involved in the process?
Arunjay
  • 11
  • 2
1
vote
1 answer

MarkLogic relevance scoring calculations using logtfidf method

I'm trying to find how MarkLogic calculates relevancy score. MarkLogic support pointed me to a knowledge base article (link in reference) where I saw the below formula (natural log). log(1/term frequency) * log(1/document frequency) When I apply…
P K
  • 162
  • 12
1
vote
1 answer

How to restrict particular namespace docs to load in MarkLogic?

I have huge number of data and in that I have .svg file format as well, which has xlink namespace, but a few of the svg doc do not have xlink namespace and these documents have to be skipped while loading into MarkLogic. So, which function can I use…
anuj_gupta
  • 131
  • 4
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

How to parameterize the limit in cts:uri in MarkLogic?

cts:uri-match("/pattern*.xml", ("limit= {$limit} ") --> this throws an error Is there a way to pass the limit value as variable($limit)?
anuj_gupta
  • 131
  • 4
1
vote
1 answer

How to use variable in cts:search?

How to use variable in cts:search as first param. let $doc-type := 'Employee' let $query := some cts query return cts:search($doc-type,$query)
anuj_gupta
  • 131
  • 4
1
vote
1 answer

How to create custom REST endpoint via mlgradle?

I want to create custom REST endpoint in MarkLogic, like "http://localhost:port/v1/resources/my_custom_endpoint" And I am doing it via curl command in my local. But I want to integrate this with ml-gradle to automate this process as first install…
anuj_gupta
  • 131
  • 4
1
vote
1 answer

how to create xdbc server using mlgradle in Marklogic?

I am trying create xdbc server using mlgradle. It does for REST/http server but not getting options for xdbc. mlAppName=test-app mlHost=localhost mlUsername=admin mlPassword=test mlRestPort=8007 mlXdbcport=8009 Please let me know how to do it?
anuj_gupta
  • 131
  • 4
1 2
3
13 14