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
1 answer

string not analyzed correctly in MarkLogic

My goal is to analyze a postal code and to identify the separate parts using a regular expression and the analyze-string function. I use MarkLogic 10. Using the regex to match validates the example below correctly. However, when I use it to analyze…
Marcel de Kleine
  • 146
  • 1
  • 11
1
vote
3 answers

how I deploy rest service extension using gradle?

Rest service : http://host:8000/v1/config/resources/removeCollection?put:database=string&put:uris=string* I want to deploy this REST service extension in MarkLogic using gradle. How can I deploy this?
ravi
  • 61
  • 6
1
vote
1 answer

Creating Marklogic Forest using ML Gradle

Currently I am setting up Marklogic instance using mlgradle to automate deployment process. I am creating a new custom forest based on json config file path (ml-config\forests\db-name\file.json) Here is the config: { "forest-name":…
subsoft
  • 99
  • 1
  • 8
1
vote
1 answer

Combining Same databse from two different server to third server in marklogic

I have database X which have different data on two different servers and I want to combine the data from both the servers to the new server in Marklogic .
1
vote
1 answer

Marklogic error taken from sample documents

'use strict'; declareUpdate(); const es = require('/MarkLogic/entity-services/entity-services.xqy'); const person = require('/es-gs/person-1.0.0-conv.xqy'); for (const source of fn.collection('raw')) { let instance =…
bdkdavid
  • 203
  • 3
  • 14
1
vote
2 answers

How to get each field of json doc in XQUERY Marklogic?

How to get each field of json doc in XQUERY Marklogic? let $doc := { "field1" :'t', "field2" : 'th', "filed4": 'the' } return $doc//??, { "New Filed" : "Added" } So how can we get the output like below ? { "field1" :'t', "field2" : 'th',…
KumarG
  • 61
  • 1
1
vote
1 answer

Can xs:QName have a wildcard in prefix. I don't know the namespace uri?

I'm trying to perform a simple query to get all Uris which has element localName. However, all documents are namespace qualified and I'm not aware of how many namespaces exist? Is there a way I can provide a wildcard in prefix or any other way to…
bosari
  • 1,922
  • 1
  • 19
  • 38
1
vote
3 answers

How can I avoid range index error for fields with the same name as the index field in attached documents?

For my project I have to ingress and curate data from various sources. I do that through the data-hub framework using flows. All my different sources have a field called "date". However they all come in different forms e.g. yyyy-mm-dd, yyyymmdd,…
Michamei
  • 348
  • 1
  • 11
1
vote
2 answers

Exception in a basic query with relational operator in marklogic nosql database in Java application

I am new to marklogic. I am trying to execute simple less than/ greater than query using marklogic nosql database in Java application. Java: v14 Marklogic: v9 Lets say i have a "user" database and sample document looks like below: { "name": "some…
Akshay
  • 11
  • 1
1
vote
1 answer

Clear collections is not working in Java API

We are using MarkLogic v10 and Java API v4.1.0. Our requirement is to clear collections from the specific document, we are using below code snippet to clear all the collections, XMLDocumentManager xmlDocumentManager =…
DevNinja
  • 1,459
  • 7
  • 10
1
vote
1 answer

mlcp export using query_filter

I am trying to export files from Marklogic server (installed on my machine) to my local environment, and I am getting the following error : mlcp.sh export -host localhost -port 8000 -username admin \ > -password admin -mode local…
manie
  • 355
  • 1
  • 5
  • 13
1
vote
1 answer

Marklogic:How to Search documents with regex?

I have recently started working on MarkLogic 10 Database What I need to do is find the documents who have id like wew35r-ui856-iiu When I query like this cts:element-value-match(xs:Qname("id"),".*\-.*") I get 0 results but when I…
Sunny
  • 2,074
  • 4
  • 24
  • 33
1
vote
1 answer

How to retrieve Marklogic entity definition at Runtime

Are there any functions/API's available to extract/retrieve the entities definitions at run time? Could someone help me with information and provide any links to documentation?
1
vote
1 answer

export results of MarkLogic query (mlcp, xdmp.save)

I have a simple query that filter documents based on the value of a property and return their results. eg : var query = 'Yes' const jsearch = require('/MarkLogic/jsearch'); const myPaths = { paths: ['/envelope/instance/entity'] }; result =…
manie
  • 355
  • 1
  • 5
  • 13
1
vote
1 answer

Double constraint on element value and element attribute does not seem to work

Providing I have such an element in ML: SUPPORT A/B/C A/B/C X/Y/Z
1 2 3
99
100