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

MarkLogic 8 - request not getting timed out - keeps retrying after logging XDMP-XDQPNOSESSION

We are using MarkLogic-8 with a setup of three nodes (two Forests on each). We have an HTTP App-Server with request timeout and session timeout set to 30 mins. An incoming request through this App-Server has been running for over 8 hours before it…
Ashish Patil
  • 150
  • 9
1
vote
1 answer

Passing variable to xdmp:eval Marklogic Xquery

I need to pass an argument into an xdmp:eval with xquery: let $uri :="/tmp/myDoc.csv" let $doc:= xdmp:eval('fn:doc($uri)' , (), {xdmp:database("My-Database")}) return $doc But i'm…
Yacino
  • 645
  • 2
  • 10
  • 32
1
vote
2 answers

How to pass the map variable to the external function like eval and invoke in marklogic xquery

xdmp:eval($s, (), "world")) Instead of default value as second parameter from the above code, i want to pass map as the parameter to the external function.
Ruby Kannan
  • 251
  • 1
  • 6
1
vote
2 answers

Is there a possibility of generating a 6 digit unique random number every time with xdmp:random() or some other way in Marklogic

I tried using xdmp:random(999999) but it sometimes generates a 5 digit value and sometimes a 6 digit value - Is there any way of getting the every time unique 6 digit value?
1
vote
2 answers

How to Test MarkLogic Rest APIs in Roxy?

How can I test the MarkLogic REST APIs using the Roxy framework? The default Roxy test framework is used to test the legacy application, and we have recently introduced the REST APIs; So looking for some custom solution to test the REST APIs. The…
1
vote
1 answer

Line feed leaving extra space at end of line in XQuery

I have an application where I create a .csv file and then create a .xlsx file from the .csv file. The problem I am having now is that the end of rows in the .csv have a trailing space. My database is in MarkLogic and I am using a custom REST…
nobleb
  • 119
  • 1
  • 7
1
vote
2 answers

How to find private key of SSL certificate generated via Marklogic certificates template?

I have a query regarding the PRIVATE KEY of SSL certificate generated via Marklogic. I created the CSR file via Marklogic "Certificate Templates", downloaded it, sent it for signing and got the signed certificate back. I imported the signed…
MarsTelnet
  • 471
  • 7
  • 18
1
vote
1 answer

How do I get output for a XQuery in MarkLogic in a one line output?

Will elaborate - when I execute the following command : let $value := xdmp:forest-status( xdmp:forest-open-replica( xdmp:database-forests(xdmp:database("Documents")))) return $value Above query returns a lot of…
Aviator
  • 543
  • 1
  • 4
  • 10
1
vote
1 answer

Marshalling is not working with JAXBHandle in MarkLogic

I want to store following object in to MarkLogic. @XmlRootElement(name = "trainModel") @XmlAccessorType(XmlAccessType.FIELD) public class TrainedModel implements Serializable { private static final long serialVersionUID = 1L; private…
DevNinja
  • 1,459
  • 7
  • 10
1
vote
1 answer

what is SVC-SOCBUF: Socket error in Marklogic?

I'm getting below debug level log in my MarkLogic error log I am not sure whether that is causing the issues. Help me if you have faced similar issues. Any configuration to be modified? 2020-07-13 08:32:14.612 Debug: HTTPClientRequest::run 1…
Jayabalan
  • 361
  • 1
  • 7
1
vote
1 answer

How to copy marklogic document into unix host location

I have developed a javascript which uses cts.search on Marklogic host and returns a json. I want to save this document into a unix host location. Thanks in advance.
1
vote
1 answer

MarkLogic Element Security, from ambiguity to clarity

User: auditor Role: rest-reader rest-writer Path Expression: /national-treasure/revenue Permissions: pii-reader ( update ) pii-reader ( read ) I confirmed that auditor can’t read the /national-treasure/revenue element. But it can delete…
Fiona Chen
  • 1,358
  • 5
  • 16
1
vote
1 answer

How do I infer in Marklogic?

I stored triples in Marklogic. I would like to infer them to get a fact in which instances which have owl:sameAs relation to other instances are described, by using an ontology which has a haskey restriction as follows. [Stored triples to…
1
vote
1 answer

MarkLogic Java API Exception Throwing Method

In Java API, No Exception is thrown, albeit erroneous transaction: try { ………………………………… logger.info("Delete Document " + uri); docMgr.delete("rocky-mountains"); System.out.println("Deleted"); } catch (Exception e) { …
Fiona Chen
  • 1,358
  • 5
  • 16
1
vote
1 answer

Pulling MarkLogic template view data

I am new to TDE. For the document below, I ended up developing 5 templates and then was able to write a JOIN query (below). I pulled all document data by linking the views via __docid fragment ID. It works fine when run in Query Console. However,…
MAZ
  • 11
  • 1
1 2 3
99
100