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

MarkLogic Java API deadlock detection

One of our application just suffered from some nasty deadlocks. I had quite a hard time recreating the problem because the deadlock (or stacktrace) did not show up immediately in my java application logs. To my surprise the marklogic java api…
Wagner Michael
  • 2,172
  • 1
  • 15
  • 29
7
votes
1 answer

How to prompt for both user and password in curl command?

I am doing a post call to MarkLogic server using CURL command in Ubuntu. In the command if I'll write like --user username It will prompt for password. Is there any way to prompt for both username and password? Basically I don't want to hard code…
Dixit Singla
  • 293
  • 2
  • 6
  • 16
7
votes
2 answers

Node.js / Express video streaming (HTTP 206 Partial Content)

I have a binary document (mp4 video file) in a database (MarkLogic). I am using the database's Node.js API to stream the document in chunks. The setup looks like this: html file
7
votes
2 answers

How to set the value of xcc.txn.compatible property when working with .NET XCC library?

I am using Marklogic XCC connector of version 8.0 and my database is Marklogic server 6.0. I get this exception RequestServerException while submitting a query and if transactionMode is also changed. I searched this out and found that there is a…
SAURAV VIJAY
  • 93
  • 1
  • 6
7
votes
2 answers

Regular Expressions in MarkLogic's xQuery

I am trying an XQuery using fn:matches with a regular expression, but the MarkLogic implementation of XQuery does not seem to allow hexidecimal character representations. The following gives me an "Invalid regular expression" error. (: Find text…
kalinma
  • 486
  • 5
  • 16
7
votes
1 answer

MarkLogic 8 and server-side JavaScript - Debugging support

Is there any plan to provide runtime debugging support for server-side JavaScript? Most of the XQuery API has been ported to JavaScript, but the "dbg" module, which gives you an entry point into query execution, has not. As MarkLogic 8 embeds the…
StuartN
  • 329
  • 1
  • 9
7
votes
2 answers

Setting permissions on a document using MarkLogic's REST API

I'm trying to specify permissions on documents in a MarkLogic 6 database using the rest api. This is the permissions metadata I'm sending in (permissions.xml):
paloma
  • 335
  • 2
  • 11
7
votes
1 answer

Drop the "fn:" in MarkLogic functions?

Is there a way with MarkLogic to not have to prefix every single fn: function with that prefix? I've seen lots of codes on the Internet that show me that I don't need it. Things can get rather verbose, you know? fn:not(fn:contains(...)), instead…
Mr Mikkél
  • 2,577
  • 4
  • 34
  • 52
6
votes
5 answers

Grouping and counting in Xquery

Hear is XML. I am trying to get Number of titles published by an author in a date range 15/02/2012 to 24/02/2012 order by highest to lowest (number of titles). 1 23/02/2012 Title…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xquery" class="post-tag grid--cell" title="show questions tagged 'xquery'" rel="tag">xquery</a> <a href="../../questions/tagged/marklogic" class="post-tag grid--cell" title="show questions tagged 'marklogic'" rel="tag">marklogic</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 22 '12 at 19:01">asked Feb 22 '12 at 19:01</time> <a href="../../users/637711/pankaj" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/637711.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Pankaj" /> </a> <div class="s-user-card--info"> <a href="../../users/637711/pankaj" class="s-user-card--link">Pankaj</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">177</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="9 bronze badges">9</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-7853769"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>4</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/7853769/how-to-get-child-elements-but-none-of-their-children" class="question-hyperlink">How to get child elements but none of their children?</a></h3> <div class="excerpt">Using MarkLogic but this is probably a generic XQuery question. I have: <library> <books> <book title="whatever"> <publisher>Random</publisher> ....more children </book> <book title="another"> …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xpath" class="post-tag grid--cell" title="show questions tagged 'xpath'" rel="tag">xpath</a> <a href="../../questions/tagged/xquery" class="post-tag grid--cell" title="show questions tagged 'xquery'" rel="tag">xquery</a> <a href="../../questions/tagged/marklogic" class="post-tag grid--cell" title="show questions tagged 'marklogic'" rel="tag">marklogic</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 21 '11 at 18:35">asked Oct 21 '11 at 18:35</time> <a href="../../users/581582/bethesdaboys" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/581582.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="bethesdaboys" /> </a> <div class="s-user-card--info"> <a href="../../users/581582/bethesdaboys" class="s-user-card--link">bethesdaboys</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,797</li> <li class="s-award-bling s-award-bling__gold" title="7 gold badges">7</li> <li class="s-award-bling s-award-bling__silver" title="22 silver badges">22</li> <li class="s-award-bling s-award-bling__bronze" title="35 bronze badges">35</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-53023665"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/53023665/unable-to-find-xdmp-plan-result-documentation" class="question-hyperlink">Unable to find xdmp:plan result documentation</a></h3> <div class="excerpt">I am having a hard time finding details about what the output of xdmp:plan means. Having a simple query like this: xdmp:plan(cts:search(doc(), cts:element-value-query(xs:QName("description"), "some text"))) results in quite a long execution…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/marklogic" class="post-tag grid--cell" title="show questions tagged 'marklogic'" rel="tag">marklogic</a> <a href="../../questions/tagged/marklogic-9" class="post-tag grid--cell" title="show questions tagged 'marklogic-9'" rel="tag">marklogic-9</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 27 '18 at 15:50">asked Oct 27 '18 at 15:50</time> <a href="../../users/3523756/wagner-michael" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3523756.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Wagner Michael" /> </a> <div class="s-user-card--info"> <a href="../../users/3523756/wagner-michael" class="s-user-card--link">Wagner Michael</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,172</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="15 silver badge">15</li> <li class="s-award-bling s-award-bling__bronze" title="29 bronze badge">29</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-50876708"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/50876708/triples-are-not-generated-as-expected-from-rdf-file" class="question-hyperlink">Triples are not generated as expected from RDF file</a></h3> <div class="excerpt">I am using MarkLogic 8.0-6.3 While generating triples from an RDF file using sem:rdf-load few of the triples are not created. I have pasted the RDF file content, generated triples and the query which I am using to load the file. RDF <?xml…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/rdf" class="post-tag grid--cell" title="show questions tagged 'rdf'" rel="tag">rdf</a> <a href="../../questions/tagged/marklogic" class="post-tag grid--cell" title="show questions tagged 'marklogic'" rel="tag">marklogic</a> <a href="../../questions/tagged/skos" class="post-tag grid--cell" title="show questions tagged 'skos'" rel="tag">skos</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 15 '18 at 13:34">asked Jun 15 '18 at 13:34</time> <a href="../../users/1707976/dixit-singla" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1707976.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Dixit Singla" /> </a> <div class="s-user-card--info"> <a href="../../users/1707976/dixit-singla" class="s-user-card--link">Dixit Singla</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,540</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="24 silver badges">24</li> <li class="s-award-bling s-award-bling__bronze" title="39 bronze badges">39</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-46100367"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/46100367/receive-xdmp-locked-error-when-no-locks-exist" class="question-hyperlink">Receive XDMP-LOCKED error when no locks exist</a></h3> <div class="excerpt">I have a function that I wrote for generation of a sequential number. The function is as follows: declare function generate-instrument-Id( $cnt as xs:int? ) as xs:int { let $count := if( $cnt and $cnt > 0 ) then $cnt else 1 let $url :=…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xquery" class="post-tag grid--cell" title="show questions tagged 'xquery'" rel="tag">xquery</a> <a href="../../questions/tagged/marklogic" class="post-tag grid--cell" title="show questions tagged 'marklogic'" rel="tag">marklogic</a> <a href="../../questions/tagged/marklogic-9" class="post-tag grid--cell" title="show questions tagged 'marklogic-9'" rel="tag">marklogic-9</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 07 '17 at 15:38">asked Sep 07 '17 at 15:38</time> <a href="../../users/202630/kemal-erdogan" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/202630.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Kemal Erdogan" /> </a> <div class="s-user-card--info"> <a href="../../users/202630/kemal-erdogan" class="s-user-card--link">Kemal Erdogan</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,060</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="9 silver badge">9</li> <li class="s-award-bling s-award-bling__bronze" title="19 bronze badge">19</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-42984091"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/42984091/unable-to-connect-to-marklogic-via-odbc-on-centos" class="question-hyperlink">Unable to Connect to MarkLogic via ODBC on CentOs</a></h3> <div class="excerpt">We've got a MarkLogic server running on CentOS with an ODBC endpoint defined. When I attempt to connect to it via Power BI with ODBC, I get the error below. I've got a similar MarkLogic server running locally, and I don't have any issues connecting…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/odbc" class="post-tag grid--cell" title="show questions tagged 'odbc'" rel="tag">odbc</a> <a href="../../questions/tagged/marklogic" class="post-tag grid--cell" title="show questions tagged 'marklogic'" rel="tag">marklogic</a> <a href="../../questions/tagged/powerbi" class="post-tag grid--cell" title="show questions tagged 'powerbi'" rel="tag">powerbi</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 23 '17 at 18:24">asked Mar 23 '17 at 18:24</time> <a href="../../users/771997/nick-heidke" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/771997.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Nick Heidke" /> </a> <div class="s-user-card--info"> <a href="../../users/771997/nick-heidke" class="s-user-card--link">Nick Heidke</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,787</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="34 silver badges">34</li> <li class="s-award-bling s-award-bling__bronze" title="58 bronze badges">58</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-41986751"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/41986751/how-to-fix-a-marklogic-file-too-large-forest-merge-error" class="question-hyperlink">How to fix a MarkLogic "File too large" forest merge error?</a></h3> <div class="excerpt">I'm running MarkLogic version 8.0-6.1. The host OS is Red Hat Enterprise Linux Server release 6.8 (Santiago). The data is stored on a local disk that has 90% free space. The server runs fairly well but it throws the following error…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/marklogic" class="post-tag grid--cell" title="show questions tagged 'marklogic'" rel="tag">marklogic</a> <a href="../../questions/tagged/marklogic-8" class="post-tag grid--cell" title="show questions tagged 'marklogic-8'" rel="tag">marklogic-8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 01 '17 at 18:11">asked Feb 01 '17 at 18:11</time> <a href="../../users/3048/gary-russo" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3048.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Gary Russo" /> </a> <div class="s-user-card--info"> <a href="../../users/3048/gary-russo" class="s-user-card--link">Gary Russo</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">377</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="4 silver badge">4</li> <li class="s-award-bling s-award-bling__bronze" title="14 bronze badge">14</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/marklogic_page=1" rel="prev" title="Go to page 1">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/marklogic_page=1" rel="" title="Go to page 1">1</a> <div class="s-pagination--item is-selected">2</div> <a class="s-pagination--item" href="../../questions/tagged/marklogic_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/marklogic_page=99" rel="" title="Go to page 99">99</a> <a class="s-pagination--item" href="../../questions/tagged/marklogic_page=100" rel="" title="Go to page 100">100</a> <a class="s-pagination--item" href="../../questions/tagged/marklogic_page=3" rel="next" title="Go to page 3"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>