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

Invalid Value Operator '<'(less than)sign when passed as -query_filter in MLCP

I am using MLCP(Marklogic Content Pump) for copying content from one database to another. In this i'm using -query_filter option and its value is a cts:query in XML serialized format of a set of cts:element-range-query wrapped in cts:and-query :…
6
votes
1 answer

Is there any way to optimize SPARQL queries?

I have unmanaged triples stored as part of individual documents that I am storing in my content db. Essentially each document represent a person, and the defined triple specifies the document URI for the person's manager. I am trying to use SPARQL…
TJ Tang
  • 921
  • 6
  • 17
6
votes
2 answers

MarkLogic cts:element-query false positives?

Given this document :- T1V1 T2V2 unsurprisingly, I find that this will pull back the page in a cts:uris() :- cts:and-query(( …
Andy Key
  • 125
  • 5
6
votes
1 answer

How do I programmatically create JSON in XQuery in MarkLogic?

I need to build up a JSON node in XQuery in MarkLogic. I know that I can use xdmp:unquote() to parse from a string into a node(). However, I’d like to build the JSON programmatically, without ugly string concatenation. I can use computed element…
Justin Makeig
  • 2,097
  • 15
  • 29
6
votes
4 answers

How to get list of document uri names from a database marklogic?

Hey I am trying to get the list of all document names /uri from a given MarkLogic database. I found this line in stackoverflow: How to get total number of documents in Marklogic database? ...which will get the count of documents in a database. I'm…
happybayes
  • 321
  • 4
  • 12
6
votes
1 answer

marklogic invoke function with parameters

In the documentation for xdmp:invoke, it's possible to pass parameters as the second argument. For xdmp:invoke-function this option is not available. Is there any workaround to achieve this? Mapping a list to a function is easy. What I am trying…
chriskelly
  • 7,526
  • 3
  • 32
  • 50
6
votes
2 answers

To get total size of all the forests which are attached to a particular database

I am trying to get total size of all the forests which are attached to a particular database. Using below code I have got the size of all individual forests, but stuck on how to achieve the solution: for $db-id in xdmp:databases() let $db-name :=…
Saahil Gupta
  • 209
  • 2
  • 6
6
votes
3 answers

MarkLogic 8 - sort-order by path-index

Is sort-order by path-index already supported in ML 8? I want to achieve similar to the below:
kdm06
  • 189
  • 9
6
votes
1 answer

MarkLogic HTTP Server: Set up CORS headers

I am running MarkLogic 7 on a CentOS 6.5 box. I have my HTML/JS application hosted on a MarkLogic HTTP server on the same machine. The application runs on port 8003, and needs to access data through a REST API running on a different port 8007. When…
6
votes
2 answers

Checking presence of attribute with cts:query

cts:element-query(xs:QName("elm"),cts:and-query(())) will give all the fragments where the element elm is present. Similarly if I want all documents where an attribute(say atr) is present under elm what would I have to…
callow
  • 517
  • 1
  • 4
  • 15
6
votes
2 answers

Marklogic 7: Semantic Search

I have been trying to explore RDF Triple Store feature and Semantic Search capabilities of Marklogic 7 and then querying using SPARQL. I was able to perform some basics operations on such as: xquery version "1.0-ml"; import module namespace sem =…
Shrey Shivam
  • 1,107
  • 1
  • 7
  • 16
6
votes
3 answers

What are in memory elements in marklogic?

I have couple of documents on which xdmp:node-replace() over certain elements doesnot work. There are some other set of documents which are almost similar to the ones that has problem but xdmp:node-replace works perfectly fine on them. Tried all…
NitZRobotKoder
  • 1,046
  • 8
  • 44
  • 74
5
votes
5 answers

MarkLogic to Java & Back Solution

I need to query XML out of a MarkLogic server and marshal it into Java objects. What is a good way to go about this? Specifically: Does using MarkLogic have any impact on the XML technology stack? (i.e. is there something about MarkLogic that leads…
Guido Anselmi
  • 3,872
  • 8
  • 35
  • 58
5
votes
2 answers

How to get xdmp:tidy() to tidy up HTML5?

With the new doctype and elements that are part of HTML5, how do you get xdmp:tidy() to recognize those in HTML5? If I have an html page that contains something like:
blah
blah
and…
RyanS
  • 51
  • 2
5
votes
2 answers

MarkLogic - Can we configure scheduled backup on Azure Blob

We want to configure schedule backup for database. We have set storage account and access key for Azure Blob in security-> Credentials for Azure. In backup directory, when enter azure://containName This container name is exist in given storage…
Manish Joisar
  • 1,256
  • 3
  • 23
  • 47