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

MarkLogic: why does deleting an appserver cause a cluster to restart?

Why does deleting an appserver cause a cluster to restart? Are there scripting options where multiple appservers could be deleted and not trigger multiple restarts? E.g., can I: open a transaction, get the config, run multiple…
Guy Yeates
  • 85
  • 4
4
votes
1 answer

Bulk loading files into MarkLogic using MLCP fails

I am trying to use MLCP to bulk load files into MarkLogic. Command line and error are below. I followed the instructions in one of the tutorials. I dont know why its doing anything with hadoop if my mode is local. Any ideas what I'm doing…
Jeff
  • 41
  • 1
4
votes
2 answers

Marklogic 8 : delete in bulk

I'm using Marklogic 8.0.6 and I'm wondering if we can delete in bulk method. For example, I want to delete 150 000 documents that I can identify with a list of URI or with common properties (fields COUNTRY=US and COLOR=BLUE). Is there a way to use a…
romain-nio
  • 1,183
  • 9
  • 25
4
votes
2 answers

Using Marklogic 8 triggers for managed triples

I have a use case where I want to send a notification every time triples are added or deleted from MarkLogic. The notification should contain those triples and should say whether they were added or deleted. I didn't find any mention in the MarkLogic…
hhp
  • 61
  • 1
  • 5
4
votes
1 answer

Camel+marklogic without using Marklogic Content Pump

I am trying out to pick up a JSON file from filesystem and am trying to insert the file to MarkLogic database.
Vikram
  • 635
  • 1
  • 9
  • 29
4
votes
2 answers

Marklogic Rest API for directory-query

I have the following XQuery which I use to fetch documents for a directory. xquery version "1.0-ml"; cts:search(fn:collection(), cts:directory-query("/Path/To/Docs/", "infinity")) Now I need to translate this into a REST call but I can't seem to…
Farouk Alhassan
  • 3,780
  • 9
  • 51
  • 74
4
votes
1 answer

MarkLogic Java Client API - Patching Metadata and Document Content

I have a question related to the NoSQL-Database MarkLogic 8 and the Java Client API 3.0.5: Patching a XML-document content and the metadata (properties, collections) is possible via the XMLDocumentManager and a DocumentPatchHandle. # First Approach…
Zipunrar
  • 203
  • 1
  • 2
  • 8
4
votes
1 answer

MarkLogic - Get distinct result set without using Xpath

I'm using the below mentioned query to get distinct values from XML files stored in a collection in MarkLogic. Collection contains more than 40k files. When the query is executed it takes a long time for the results. Is there any better way to…
Sankar
  • 80
  • 1
  • 7
4
votes
1 answer

Better way to dump huge file into MarkLogic DB

I am a new to MarkLogic and evaluating it to dump huge csv/text data with some transformation like filter based on some condition etc. As far as I know I can dump data using 2 ways. 1) Using java api for MarkLogic in a multi-threaded environment. 2)…
DMA
  • 1,033
  • 1
  • 11
  • 22
4
votes
1 answer

custom constraint with complex logic or alternative

Is there any way to create a custom constraint where the right part can include complex logic? i.e. name:(phil OR tom) In my function, when I get the $right side, the whole value has been reduced to a simple concatenated string of all of the text,…
TJ Tang
  • 921
  • 6
  • 17
4
votes
4 answers

Compare two elements of the same document in MarkLogic

I have a MarkLogic 8 database in which there are documents which have two date time fields: created-on active-since I am trying to write an Xquery to search all the documents for which the value of active-since is less than the value of…
Rahul
  • 403
  • 3
  • 9
4
votes
2 answers

Access Logs across a cluster

I have a cluster with 3 nodes. I have Database with App Server configured. I would like to know If the access logs generated are same across the hosts in a cluster Or each host has a separate "Access log" that logs request to their hosts. I know…
user5556585
  • 203
  • 1
  • 5
4
votes
2 answers

Action module to convert the word and ppt into xml using CPF

is there any way we can convert MS-Word and powerpoint data and metadata into xml using pipeline feature of CPF..? Thanks in advance
Saahil Gupta
  • 209
  • 2
  • 6
4
votes
1 answer

Sorting multiple maps in marklogic 8

This is more of an XQuery than MarkLogic. I have three map:map and each map has key-value pair of "id" and score. I would like to sort all the distinct ids based on the score from each maps. For eg: map1 : 1:2048, 5:2000 map2 : 2:5000, 1:1000,…
Ravi
  • 1,179
  • 6
  • 13
4
votes
1 answer

how to convert objects into nodes

I'd like to work with some document properties (which are in xml) as nodes so I can work with child elements. So far I have: var counts = []; for (var p of xdmp.documentProperties(uris)) { var isANode = p instanceof Node; // false (actually true…
chriskelly
  • 7,526
  • 3
  • 32
  • 50