Questions tagged [marklogic-7]

7th Version of MarkLogic - An Enterprise NoSQL Database. Indicates a question specific to MarkLogic 7; use with the MarkLogic tag, but not instead of.

MarkLogic is the trusted enterprise NoSQL platform for Big Data applications to drive revenue, streamline operations, manage risk, and make the world safer. MarkLogic 7 provided Tiered Storage, SPARQL and Semantic Support, XCC Load balancing and many other enhancements

61 questions
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

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

documents-query - how is dls:documents-query() in MarkLogic 10 different from MarkLogic 7?

I have upgraded from ML7 to ML10 and restored the database as well, but dls:documents-query() returns cts:collection-query("http://marklogic.com/collections/dls/latest-version") on ML10 and …
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
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
1 answer

Marklogic Cts:search with sparql

In marklogic, triples can be embedded into an existing document. How can i use cts search query to return the document. An example of a document could be Testing Approved
C Kingsley
  • 228
  • 1
  • 10
4
votes
3 answers

Marklogic xslt performance

I have a XSLT that I'm executing via the xdmp:invoke() function and I'm running into very long processing times to see any result (in some instances timing out completely after max time out of 3600s is reached). This XSLT runs approximately in 5sec…
SalH
  • 91
  • 5
3
votes
1 answer

Non Null values in Marklogic - Search JSON documents with attributes in array with not null values in Marklogic

Structure of JSON documents required to be searched in Marklogic { "MESSAGEID":"18878285", "ORDERNUMBER":["2295796"], "CATEGORY":"F3702200000" } I wanted to search the URIs of all JSON documents in Marklogic that comprised of not null…
Ankit
  • 31
  • 1
3
votes
1 answer

MarkLogic element-word-query fails on >2 terms

I am seeing an issue where an cts:element-word-query fails to select any items if there are more than two words (including possessive “’s") in the search term. This is happening on our production server running 7.0-4.3, but not on our development…
3
votes
2 answers

Marklogic : Generate primary key while data ingestion

I am ingesting data from CSV using java-api. I have to maintain the primary key of each document. Does marklogic provide any unique auto-generated id during insert ? If marklogic do not provide then i can think of one thing which is random…
RCS
  • 1,370
  • 11
  • 27
3
votes
1 answer

How to specify the attribute of document as uri in marklogic using rest api

I am trying to insert multiple documents into the MarkLogic database using Rest-API. I wanted to customize the uri while inserting by specifying particular attribute as uri. Here is the json file: { "id" : "101", "firstName" : "I", …
RCS
  • 1,370
  • 11
  • 27
3
votes
2 answers

SEC-DEFAULTUSERDNE: Default user does not exist: HealthCheck/

I am trying to monitor Marklogic server hosts using healthcheck app server, But the server is throwing SEC-DEFAULTUSERDNE: Default user does not exist: HealthCheck error. kakula@ops3r:~/monitor$ curl -s --connect-timeout 2 -m 1…
user5556585
  • 203
  • 1
  • 5
2
votes
1 answer

Migrate data from database on MarkLogic 7 to database on MarkLogic 9

I need to copy data from a MarkLogic 7 database to MarkLogic 9 database on another system. I tried backup and restore option provided by the MarkLogic Admin console. The original database in MarkLogic 7 had only 1 forest attached to it. I created a…
2
votes
1 answer

Do we need to configure Local Disk Failover for Auxiliary databases when they are in a cluster

This is a basic question. We have a 3 node cluster configured and we are planning to get down the Bootstrap host for maintenance. We want the application to be up and running even when one of the node is down. Do we need to configure Local disk…
user5556585
  • 203
  • 1
  • 5
1
2 3 4 5