Questions tagged [marklogic]

MarkLogic is an enterprise NoSQL database. It is document-oriented and can store, manage, and search JSON, XML, plain text, and binary data. MarkLogic is scalable and elastic, has enterprise security and ACID transactions. It also has a REST API and Node.js and Java Client APIs as well as a number of other extensions.

I have the impression that the XQuery and the Server-side JavaScript APIs in MarkLogic are largely equivalent. But there seems to be a big difference in cts:search vs cts.search. In cts:search, I am ...

MarkLogic Version - 9.0-6.2
Is there a simpler way to return Bi-Temporal documents based on version numbers without using ALN or ISO or cts.periodRangeQuery? My need is just to get the document prior ...

My question is how I can successfully apply a template to data that doesn't meet the XML specifications. I have incoming data with element names, values such as:
An example document, retrieved with ...

I need to customize the search options for the JOBS DB. There is an OOTB jobs.xml search options config file being loaded by the mlLoadModules gradle task, but I don't know where I can override it. ...

Technical Stack
MarkLogic 9.0
Cenos Linux
Azure Blob
Blobfuse
To make sure we do not have to worry about data disk size for MarkLogic Forest, we have configured Azure Blob to one of folder in Linux ...

I have a collection and I inserted a template so that I can make SQL queries. After making a simple query I needed to change the scalar-type in one column in the template. After updating the template ...

I have a marklogic database with multiple collections. There are relations between collections in the marklogic database. I would like to insert triples to express those relations. Is there a way to ...

I need to configure computed-buckets for a person age range constraint using an index for the birth date. The bucketed age ranges are in the form 19-30, 31-40, 41-50, etc. Since the possible anchor ...

Using the MarkLogic out of the box rest APIs, how can I add a user to a role?
I see that I could use sec:user-add-roles, if I were executing server side javascript/xquery.
I also see the Manage API ...

We have two types of documents: books and book sections. We use TDE to define views for the two types.
Schema (relevant part):
view books: id, title
view booksections: id, bookid
The use case is to ...

I would like to remove every empty (e.g. "a" = "") JSON properties
from instance section inside the envelope.
I wrote the code like below, but it does not working.
Could anyone advise me how to make ...

After playing with MarkLogic I realized results from triples can be obtained in several ways for example by fully using either Xquery or SPARQL. So the question is that, are there any advantages using ...

I can see in MarkLogic 9 Monitoring History dashboard page at particular time say 1100 hrs, there is a spike in I/O wait more than 50% along with spike in Query traffic more than 800 MB/sec.
Is there ...

The MarkLogic documentation gives information for a success response, but no information for a failed delete.
https://docs.marklogic.com/REST/DELETE/v1/documents
I would expect a 404 if the document ...

I have loaded some PDF files into MarkLogic with MLCP, which were then converted to XML by the CPF default PDF conversion. Some of the PDFs were fillable, but none of the content that was filled out ...

I have a document where email address is the unique key and ideal for identifying the document. Can I have email address in the URI? Do I have to encode the email address.
We typically suffix with ....

I have a sequence of 480 values. I want to sum 8 values at a time and return the sum. For ex. Lets say I have a sequence of values -
let $values := ( "0.847","0.106","0.015","0.02","0.048","0.052","...

Iv been reading and understand that there are several ways of setting permissions such as sec:collection-set-permissions, xdmp:document-set-permissions, sec:path-set-permissions, sec:protect-path, sec:...

MarkLogic version : 9.0-6.2
I have an array in a json document as follows. My need is to return this document only if the email is "test1@testmail.com" and EmailOverrideInd is "N" for that particular ...

I have been trying to do attribute searching in sparql, for now I have a solution with using CTS to prepare the necessary sem triples before hand as shown in the codes below
xquery version "1.0-ml";
...