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
22
votes
2 answers

The certificate chain issued by an untrusted authority

I am using the curl terminal and while issuing the following command :- curl --anyauth --user admin:admin "https://localhost:8000/LATEST/search?q=caesar" I am getting below alert :- curl: (77) schannel: next InitializeSecurityContext failed:…
Aviator
  • 543
  • 1
  • 4
  • 10
16
votes
3 answers

Conflicting modules. LoggerFactory is not a Logback LoggerContext but Logback is on the classpath

I am getting the error found in the title when I try to run my project. I have read other threads on this error, and found a solution that got rid of the error, but killed all my logging.
fun_hat
  • 547
  • 2
  • 7
  • 25
13
votes
7 answers

Updating counter in XQuery

I want to create a counter in xquery. My initial attempt looked like the following: let $count := 0 for $prod in $collection let $count := $count + 1 return {$count } Expected result: 1 2
Gopal Thakur
  • 227
  • 1
  • 2
  • 5
12
votes
1 answer

How to handle case-insensitive SPARQL data in MarkLogic

I'm trying to understand how best to handle literals in Marklogic SPARQL data which may be in any case. I'd like to be able to do a case insensitive search but I believe that isn't possible with semantic queries. For a simplistic example I want:…
Millstone1998
  • 150
  • 1
  • 8
11
votes
2 answers

Exposing multiple ports of container on kubernetes

I am trying to run my custom marklogic image on my local minkube cluster. Marklogic exposes multiple different ports for management (8001) and for querying (8000). Is there a way to expose multiple ports of a container on kubernetes? This is what I…
user152468
  • 3,202
  • 6
  • 27
  • 57
10
votes
2 answers

What is the most efficient way to store name/value pairs in a Marklogic database

My application often needs to decorate values in the documents it serves using a lookup take to fetch human readable forms of various codes. For example PC001 would want to be returned as
Will Goring
  • 1,040
  • 1
  • 7
  • 18
9
votes
1 answer

Tableau MarkLogic Data Modelling

I am using Tableau with MarkLogic. I have the following XML Structure
Nikunj Vekariya
  • 833
  • 5
  • 19
9
votes
2 answers

How does one install MarkLogic 8 on Ubuntu 14.04?

What are the steps to install MarkLogic 8 on Ubuntu 14.04?
Dixit Singla
  • 293
  • 2
  • 6
  • 16
9
votes
4 answers

How to unencode escaped XML with xQuery

I have a variable in xQuery of type xs:string with the value of an encoded HTML snippet (the content of a twitter tweet). It looks like this: Headlines-Today • AP sources: <b>Obama</b> pick for Justice post withdraws : News -…
mbrevoort
  • 5,075
  • 6
  • 38
  • 48
9
votes
4 answers

Can I declare a global variable in xquery in Marklogic Server?

I want a global variable which I can use in my different .xqy pages. Can I declare such a variable in xquery in Marklogic Server ?
Puneet Pant
  • 918
  • 12
  • 37
8
votes
1 answer

Why can’t I catch certain exceptions in a MarkLogic request?

I have some code that exercises the “invalid values” setting on an element range index. In this case, I have configured a dateTime element range index on the onDate element in my database (which will apply to both XML elements and JSON properties).…
Justin Makeig
  • 2,097
  • 15
  • 29
8
votes
1 answer

Unit Testing for Marklogic

We are looking for a framework to test our MarkLogic XQuery code. We can see MarkLogic/XQunit is a good framework, but it does not have code coverage feature. What is the best framework to write unit test cases for MarkLogic XQuery?
8
votes
2 answers

avoiding XDMP-EXPNTREECACHEFULL and loading document

I am using marklogic 4 and I have some 15000 documents (each of around 10 KB). I want to load the entire content as a document ( and convert the total documents to a single csv file and output to HTTP output stream for downloading). While I load the…
Ranjan Sarma
  • 1,565
  • 5
  • 22
  • 36
8
votes
1 answer

Passing XQuery xml element as external variable to Marklogic via XCC

We have a fairly simple XQuery and Groovy code as follows. Xquery code : declare variable $criteria as element(criteria) external ; { $criteria/equals/field } Here is the test code that is trying to…
Irina Muchnik
  • 93
  • 1
  • 4
7
votes
1 answer

What does the operator "=>" in XQuery do?

When I look up XQuery examples i sometimes see the operator =>used. I tried searching for the meaning of it, but could not find anything. Since i am using MarkLogic, it is possible that it is only for MarkLogic, but i doubt that. From the examples i…
1
2 3
99 100