Questions tagged [marklogic-8]

8th Version of MarkLogic - An Enterprise NoSQL Database. Indicates a question specific to MarkLogic 8; 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 8 provided Native JSON storage, NodeJS Client API, JAVA Client API, Server Side Java Script etc.

Apply to questions that are specific to MarkLogic 8. This tag should be used in addition to the MarkLogic tag, which has many more followers. (If you have other other tags and have to choose between this one and MarkLogic, use the MarkLogic tag instead.)

564 questions
9
votes
1 answer

Tableau MarkLogic Data Modelling

I am using Tableau with MarkLogic. I have the following XML Structure
Nikunj Vekariya
  • 833
  • 5
  • 19
6
votes
1 answer

How to fix a MarkLogic "File too large" forest merge error?

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…
Gary Russo
  • 377
  • 1
  • 4
  • 14
6
votes
1 answer

Invalid Value Operator '<'(less than)sign when passed as -query_filter in MLCP

I am using MLCP(Marklogic Content Pump) for copying content from one database to another. In this i'm using -query_filter option and its value is a cts:query in XML serialized format of a set of cts:element-range-query wrapped in cts:and-query :…
6
votes
1 answer

Is there any way to optimize SPARQL queries?

I have unmanaged triples stored as part of individual documents that I am storing in my content db. Essentially each document represent a person, and the defined triple specifies the document URI for the person's manager. I am trying to use SPARQL…
TJ Tang
  • 921
  • 6
  • 17
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
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
4
votes
2 answers

Impact of increased queue size in Marklogic task server

what is the impact of increasing queue size from the default 100000 to 500000? Is there a rule of thumb to calculate the reasonable maximum number of queue size using the available resources like RAM, CPU core and anything else needed to be…
Arvind Kr
  • 177
  • 1
  • 5
4
votes
0 answers

Get all paths between two nodes in RDF graph using SPARQL

I would like to get all the paths between two nodes (subjects). Lets say my RDF graph is: @prefix : . :a :relatedTo :b . :b :relatedTo :c . :c :relatedTo :d . :a :relatedTo :e . :e :relatedTo :f . :f :relatedTo :d . :a :relatedTo :i . :i…
Dixit Singla
  • 2,540
  • 3
  • 24
  • 39
4
votes
0 answers

Is it possible to perform diacritic, case sensitive/insensitive and wildcarded search on triples in MarkLogic?

How can I perform diacritic-sensitive diacritic-insensitive case-insensitive case-sensitive wildcarded search on triples stored in MarkLogic DB with good performance (by making use of triples index) Would be great if explained with examples. Please…
Dixit Singla
  • 2,540
  • 3
  • 24
  • 39
4
votes
1 answer

MLCP Export Selected Documents using document selector

i want to export selected documents from MarkLogic using MLCP based on xpath match. mlcp export -host localhost -port 8061 -username admin -password admin -mode local -output_file_path shiv -database shiv -output_type archive -document_selector…
DevNinja
  • 1,459
  • 7
  • 10
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

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
1
2 3
37 38