Questions tagged [marklogic]

MarkLogic Server is a multi-model database. Classified as a NoSQL database, MarkLogic stores, manages, and provides built-in search for JSON and XML documents and semantic data (RDF triples). Users can also create relational views on top of the document model—all with a unified, consistent back-end.

MarkLogic Server is a multi-model database. Classified as a NoSQL database, MarkLogic stores, manages, and provides built-in search for JSON and XML documents and semantic data (RDF triples). Users can also create relational views on top of the document model—all with a unified, consistent back-end. MarkLogic’s key features include ingesting data as is from any data source, indexing it immediately for real-time querying, providing data consistency with ACID transactions, maintaining government-grade security, and scaling out with a clustered architecture. MarkLogic has a standard REST API, Node.js and Java Client APIs, and a number of other extensions and open source tools.

MarkLogic supports server-side JavaScript, XQuery and SPARQL, and has a number of extensions that enable:

• HTTP request/response

• Built-in full-text search

• Database operations, including ACID transactions

• High Availability and Disaster Recovery

• Scalability and elasticity

• Tiered Storage

• Advanced, enterprise-grade security

• Semantics

• Additional MarkLogic-specific functionality

You can learn more at the MarkLogic Developer Site, which provides documentation, downloads, tutorials, and more.

You can also register for free instructor-led and online training provided by MarkLogic University.


###Related tags :

3809 questions
1
vote
0 answers

Importing database and app server configurations from ML 8 to ML10 in Marklogic

We have the app related app server and database configurations exported from ML8 environment using Configuration Manager App as a package zip.The configuration xmls in the zip have the root element starting with .E.g.…
1
vote
1 answer

How to delete all fields created in MarkLogic

I have a requirement whereby existing fields needs to be deleted. I found perfect script for deletion of field-range indexes but not for fields. So, I wrote this script which works fine but I need to pass each field-name one by one : xquery version…
Shabana
  • 121
  • 7
1
vote
1 answer

Cannot resolve marklogic-service-api:1.8.0.3

I faced a dependencies error. It shows cannot resolve org.apache.nifi:nifi-marklogic-service-api : 1.8.0.3 I've added the nar files in nifi/lib. But it still has this error. How can I resolve that? Here is the error message when I trying to build…
1
vote
1 answer

Release all document locks at a specified time in Marklogic

We are planning to implement a locking mechanism for our documents using xdmp:lock-acquire API in MarkLogic with no timeout option. The document would be locked until the user edits and save the document. As part of this, we are in need to release…
Antony
  • 183
  • 8
1
vote
1 answer

Code issue - trying to list documents in MarkLogic directory

I'm trying to list documents in a few directories in a MarkLogic database. I am new to XQuery, so I just need 30 seconds of someone's time to tell me what's wrong and how to fix. As its in MarkLogic am unsure if that adds an extra layer complexity…
steve
  • 395
  • 2
  • 11
1
vote
1 answer

How to use gradle mlExportToFile and REST Transform to Create NDJSON File

I am currently using gradle mlExportToFile to export json documents to a file. However, I need the final file to be in newline delimited JSON format, with each document on its own line within the file. I saw that the mlExportToFile + REST transform…
Hank
  • 131
  • 4
1
vote
1 answer

How can I import xml into MarkLogic with namespaces that are defined in separate files?

I have some XML containing namespaces that are defined in a DTD. When I try to import the xml using the MarkLogic Content Pump (MLCP), it fails, pointing at the undefined namespaces. What is the easiest way to get this data imported? We do have an…
FaraBara
  • 115
  • 7
1
vote
0 answers

MarkLogic Cluster - Disk Space unevenly distributed

My company has hosted MarkLogic on Amazon and we have a cluster with 3 MarkLogic instances. All 3 instances have volume attached of size 2700 GiB. However when I open Monitoring Dashboard and check Disk Space tab, I see data is unevenly…
Nikunj Vekariya
  • 833
  • 5
  • 19
1
vote
1 answer

Marklogic XQY Debugger of Visual Studio Code

How do you setup the MarkLogic XQY Debugger in Visual Studio Code. Can someone direct me to actual sample example of debugging similar to the MarkLogic Java Script (JS) Debugger https://developer.marklogic.com/learn/visual-studio-code/
1
vote
1 answer

How to copy MarkLogic database between platforms

I need to confirm the process to copy a database from a Linux ML 9.x server to a Windows ML 9.x server and wanted to make sure I understood properly. Apparently I cant use a backup of a ML database taken on a Linux to restore onto a Windows…
steve
  • 395
  • 2
  • 11
1
vote
1 answer

Query documents into JSON format Marklogic

I want to use a QBE query to get the matched documents first, and save the documents into JSON format. So I use JacksonHandle and JSONDocumentManager. But I cannot get the documents. Here is the code: JSONDocumentManager jdm =…
1
vote
1 answer

How do I call the backend MarkLogic API from my own API in MarkLogic Grove?

This question is a continuation of the question below. How do I handle the REST API in node.js in Marklogic Grove? I was able to implement a sample REST API that can be called when authenticated with Grove, as shown…
1
vote
1 answer

Marklogic Java Client API criteria not working

I am looking to get all documents in a collection having a particular term present in the document. So, I am making use of the following code construct: StringQueryDefinition sqd =…
Ankur Mukherjee
  • 3,777
  • 5
  • 32
  • 39
1
vote
1 answer

to extract each json property value from search:extracted

I am new to json so need a little help I need to get json value of each property, so when I ran the below code, I get the json in text. let $doc := for $sResult in ($result/search:result) let $uri := fn:data($sResult/@uri) let…
1
vote
1 answer

Request Blackout in MarkLogic

I am going through the MarkLogic admin guide and have few doubts about Request Blackout. What is mean by Request Blackout.? Real-time Use the case of Request Blackout. What will happen with all the request triggered during Request Blackout.?
DevNinja
  • 1,459
  • 7
  • 10