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

Marklogic 9 extract-document-data on json documents

The document has below structure { "sNo": 0, "id": 31575378, "title": "Sustained preventive chemotherapy", "journal": "Infectious diseases of poverty", "publ_date": "2019-10-03", "species": "Human", "drug": ["Allegra",…
1
vote
1 answer

How to unit test that a document has a given permission?

I'm setting up unit testing using marklogic-unit-test and one thing I'd like to do is check a given document has a particular permission. However, when I test my permission against a Sequence of permissions, I get an XDMP-NONMIXEDCOMPLEXCONT error.…
eaolson
  • 14,717
  • 7
  • 43
  • 58
1
vote
1 answer

java.lang.IllegalStateException: Replacing an existing task that may have already been used by other plugins is not supported

I am using gradle6.7 and ml-gradle 4.1.0 version in my my project but i am getting error given below at the the time of Deployment: "java.lang.IllegalStateException: Replacing an existing task that may have already been used by other plugins is not…
1
vote
1 answer

Does DHS support traditional Node.js or Java API?

Does Data Hub Service supports traditional node.js and Java API? Could we use for creating custom login UI?
user8420733
1
vote
1 answer

XQuery to get a multi-valued field in MarkLogic

I am getting this error since we made a field multi-valued (a list of multiple of the same elements): argX is not of type xs:anyAtomicType? This is the query that we are using to get values from MarkLogic: declare variable $uris as xs:string …
drjz
  • 648
  • 3
  • 10
1
vote
2 answers

In XQuery, how do you get a list of functions in an imported module?

I have a list of functions in a module that I want to call sequentially. At this time, I have to also keep a list of function names, then use fn:function-lookup to see that it exists, then xdmp:apply and xdmp:function to call the function. Is there…
Alma Pellett
  • 307
  • 2
  • 8
1
vote
1 answer

MarkLogic andQuery

I am learning MarkLogic and I have to query the most profitable companies in Pennsylvania with between 4000 and 10000 employees. I am new to this and am trying to figure out how to use the andQuery. Here is what I have the runs: 'use strict'; const…
wrongotti
  • 11
  • 1
1
vote
2 answers

MarkLogic Error instance is not defined using instance converter module

error: [javascript] JS-JAVASCRIPT: let instance = Completed.extract-instance-CompletedObjectives(source); -- Error running JavaScript request: ReferenceError: instance is not defined: My Code: declareUpdate(); const es =…
bdkdavid
  • 203
  • 3
  • 14
1
vote
1 answer

How do I make environment variables available in Grove?

I am developing a UI application using MarkLogic Grove(React). And I want to use different settings in the application depending on the environment. For that, I want to use environment variables. I wrote as follows. ui/src/.env …
1
vote
1 answer

How can I get size of marklogic database backup file in marklogic?

I want to know the size of a marklogic db backup file using xdmp function ? is there any xdmp function which can be used ?
Aviator
  • 543
  • 1
  • 4
  • 10
1
vote
1 answer

Is there any way ,we authenticate the xdmp:http-put function inside the schedule task without using authentication options?

Is there any way ,we will get the authentication of schedule task to authenticate the xdmp:http-put function inside the schedule task. For example := Schedule task run a xqyfile in every minutes ,and that file contains a http:put method to call a…
ravi
  • 61
  • 6
1
vote
1 answer

how to pass authentication in http:put method at run time?

I am running the below xqy code using a schedule task and in this xqy code, I am passing manually the value of authentication node with method="digest" username = admin password = admin in the put call, Is there any way so that I can pass it at…
ravi
  • 61
  • 6
1
vote
1 answer

marklogic javascript json does json documents have a namespace

I am trying to grasp the javascript and JSON documents in marklogic. Does the JSON documents support namespaces and how do you implement one: that is add your own content. can some provide a simple example.
bdkdavid
  • 203
  • 3
  • 14
1
vote
2 answers

How to count nodes for child item having same date

I have Xml structures coming like this below. I will have to count the installations on the same date and list them. So I will have to find count by InstallDate and return in XQuery to be used in Marklogic query.
1
vote
1 answer

JSON syntax for a combined query using a structured query

I'm programatically building a combined query to use with the /v1/search REST endpoint and I'm just a bit confused about the correct syntax for a combined query that contains a structured query. The combined query starts with a search element and a…
eaolson
  • 14,717
  • 7
  • 43
  • 58