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
5
votes
0 answers

Text data is not properly writing to marklogic database using hadoop connector

I am reading a sample CSV data and then using the Hadoop connector API to write to a MarkLogic database as Text. Problem is, only some of the data gets written to the database a random number of times. For example, say I am storing 10 records, so…
RCS
  • 1,370
  • 11
  • 27
5
votes
2 answers

How does MarkLogic's "xdmp:collection-delete" work?

I have a scenario where most of the documents i want to delete are in a collection called "expired". I do not want to overload my servers by running a long running process which would iterate over documents and delete them one by one i would rather…
Zeeshan Abbas
  • 821
  • 6
  • 20
5
votes
2 answers

How Can I use Apache to load balance Marklogic Cluster

Hi I am new to Marklogic and Apache. I have been provided task to use apache as loadbalancer for our Marklogic cluster of 3 machines. Marklogic cluster is currently running on Linux servers. How can we achieve this? Any information regarding this…
5
votes
2 answers

'Access-Control-Allow-Origin' error even after following 2 approaches

I am trying to build an angular app to access data from MarkLogic database. I am using MarkLogic rest API to access the data. When I try to run the app, I get the following error. XMLHttpRequest cannot load …
DMA
  • 1,033
  • 1
  • 11
  • 22
5
votes
2 answers

Search documents based on one of it's properties in marklogic using rest api

I wanted to search documents based on one of it's property using rest api in marklogic. Here is the document - { "id" : "101", "sectionName" : "PI" "firstName" : "I", "middle name" : "Me", "last name : "Myself", "emailId" :…
RCS
  • 1,370
  • 11
  • 27
5
votes
2 answers

triplestores vs native graph dbs on fast queries

I'm researching native graph databases and triple stores (RDF stores) for our use. We’re currently focused on Marklogic for triple store, and Neo4j, and maybe OrientDB for the native graph db. Part A of this Q below is laying out the context-- i’m…
user6401178
  • 183
  • 2
  • 11
5
votes
2 answers

MarkLogic - Make CPF run on every ingested document where the URIs are "name.xml" with no directories or slashes

We need to add a collection to every document we ingest and would like to use CPF as the collection will depend on data in the documents. Our document URIs are: GUID.xml no forward-slash or directory in front of them. We have attempted to get CPF…
zrdunlap
  • 177
  • 2
  • 12
5
votes
1 answer

XDMP-TOOBIG error occurs while using xdmp:http-post

I have an xquery file which returns more than 2.2GB text data. When I hit the xquery file directly in the browser(Chrome) it loads all the text data. But when I try to make a post call to that xquery file using xdmp:http-post($url,$options) it…
Karthick
  • 246
  • 4
  • 16
5
votes
1 answer

marklogic mlcp custom transform split aggregate document to multiple files

I have a JSON "aggregate" file that I want to split up and ingest as multiple documents into MarkLogic using mlcp. I want to transform the content during ingestion using javascript. My JSON file looks something like this: { "type":…
jennifer
  • 81
  • 6
5
votes
1 answer

How can I add an element range index on native JSON with colon

I'm trying to add an range index on a Native JSON property which has colon(:) in its name in MarkLogic Server. The sample data is as follows. { "Aspects": { "xbrl28:TransactionTime": "2014-08-13T00:00:00+0000", "xbrl28:Archive":…
5
votes
2 answers

MarkLogic 8 - XQuery - cts:search - Change database programmatically

How can I change the database that a cts:search function runs against programmatically? Right now I'm in query console.
Tutan Ramen
  • 1,234
  • 1
  • 8
  • 27
5
votes
1 answer

how to get json results from xml document in marklogic

I am trying to return an XML document in JSON format using a 2-tier server side javascript application. I know MarkLogic can easily switch between JSON and XML formats using the REST api. However, the following returns xml: cts.search('something',…
chriskelly
  • 7,526
  • 3
  • 32
  • 50
5
votes
1 answer

mlcp transform csv file into OBI sources

I have the following challenge. We have csv files that we want to load into MarkLogic database using mlcp. We also want to transform the loaded rows during the load into OBI sources, so we buils a transform function for that. Now I am struggling…
Hugo Koopmans
  • 1,349
  • 1
  • 15
  • 27
5
votes
2 answers

search:search() vs cts:search() in MarkLogic

I have read about cts:search() and search:search() separately but could not figure out the exact difference between them. It says cts:search() ultimately uses search:search(). Can anyone illustrate in detail the scenario where one should go for…
Shabana
  • 121
  • 7
5
votes
2 answers

How Marklogic can have consistency and availability?

The CAP theorem seems logical to me. I understand that: If I have consistency on a distributed system, I have to wait for all transactions. The cost of ACID is the time to duplicate data on all the network. But how Marklogic can have both. ACID and…
jeremieca
  • 1,156
  • 2
  • 13
  • 38