Questions tagged [marklogic-9]

Indicates questions specific to MarkLogic 9; use with the MarkLogic tag but not in place of.

Apply to questions that are specific to MarkLogic 9. 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.)

472 questions
0
votes
1 answer

MarkLogic monitoring API

Is there an API exposed in MarkLogic to get the list of all the long running queries in a particular app server for a stipulated period of time, like if I want all the queries that took more than 5 seconds in the last 12 hours, can I use an API or a…
Amit Gope
  • 120
  • 1
  • 10
0
votes
1 answer

Facets in marklogic using java

How to get Facets Information from MarkLogic using java API? I tried to figure our by referring to some docs but was unable to get the solution. Please help in finding the solution. I made an element range Index on json Property named "integerQuery"…
Rakesh .p
  • 79
  • 2
  • 13
0
votes
1 answer

Setting importance in email using xdmp:email

I am sending MarkLogic emails for monitoring details of a running host using xdmp:email through a scheduled job, I wanted to set the importance of the email based upon the status of the host from where the job is getting executed. Please suggest how…
Amit Gope
  • 120
  • 1
  • 10
0
votes
0 answers

Could not connect to marklogic using marklogic-jena api

Code Used to connect is as below DigestAuthContext dcf= new DatabaseClientFactory.DigestAuthContext("admin", "admin"); DatabaseClient client = DatabaseClientFactory.newClient( "localhost", 8000, "GraphTest",dcf); …
0
votes
1 answer

How to have sorted results when using Data Movement API?

I'm using marklogic 9 and data movement api to export the results of a search. I create a query like: StructuredQueryDefinition query = ... String sortOptionsXml = "" + "" + sortIndex +…
0
votes
2 answers

How to get specific patch of document in marklogic via rest api

I am looking for an api to get specific section of document returned. For example from a document name last name I only need data. How can I get that?
0
votes
2 answers

404 Marklogic Error accessing REST api

I am trying to test simple api hit with marklog following this tutorial https://help.marklogic.com/Knowledgebase/Article/View/453/17/using-postman-to-work-with-marklogic-rest-endpoints This is my http request…
0
votes
0 answers

Java Builder version 9 not supported

I'm somewhat new to Java. I'm getting the error below when trying to build my project. Errors occurred during the build. Errors running builder 'Java Builder' on project 'spring-data-marklogic'. Version '9' not supported From what I can…
user2183384
  • 101
  • 1
  • 10
0
votes
1 answer

Loading csv converting each entry into separate JSON document using transformer & REST API in Marklogic

I am trying to load a csv document into MarkLogic using the RESTAPI. I want to save each row into a separate JSON document with custom URI. Should I go for REST API extension with/without tranformer or is it possible to use PUT "/v1/document" with a…
Manoj K J
  • 69
  • 7
0
votes
0 answers

How to find triples from two different XML in Marklogic Database?

Can we extract data from two different XML using one TDE to find triples. Like Subject,Predicate from one XML and Object from other XML. For that how to set the context ??
Anuj Gupta
  • 31
  • 4
0
votes
1 answer

Do we have any mechanism to maintain the history of the documents in Marklogic?

In my project we have a requirement where we want to maintain the history or version of documents. As if we insert the docs with same URI it replaces the old one with new one. But we want to keep the old one with version number. How can we achieve…
Anuj Gupta
  • 31
  • 4
0
votes
1 answer

How to insert TRIPLES into ML DB as triples, generated by TDE template

I have template which creates triple from XML. Now I want to insert these triples in ML DB as RDF document/triples. Below is the code which I am using to insert the triples but it is inserted as XML doc and not as triples.
Anuj Gupta
  • 31
  • 4
0
votes
0 answers

Marklogic MLCP java class path configuration for windows 10

I need to configure classpath for MLCP tool in Windows 10 system.Can anyone please let me know what is the configuration to include in the classpath and system variables?If you have a sample path configuration, Please provide it to me.
Aswanikumar
  • 115
  • 1
  • 9
0
votes
1 answer

Convert MarkLogic xcc cts queryto post cts query

Marklogic 9 and above no longer supports xcc connection for.NET applications and instead rest api shall be used. I have been working on a POC and got my db instances exposed through a REST API creating REST API instances for each db. I have also…
Vergil C.
  • 1,046
  • 2
  • 15
  • 28
0
votes
2 answers

Error while upgrading to MarkLogic 9.0-3

After uninstalling version 7, I am trying to run the command - yum install /path/to/MarkLogic-rpm-file but receiving following error - Error: Package: MarkLogic-9.0-3.1.x86_64 (/MarkLogic-9.0-3.1.x86_64) Requires:…
bosari
  • 1,922
  • 1
  • 19
  • 38