Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

Monitoring dashboard showing free space in marklogic [closed]

On the MarkLogic Monitoring Dashboard, the free space shows as full. According to the MarkLogic documentation, this refers to the amount of free space remaining on the disk after accounting for the ...
user2708013's user avatar
1 vote
0 answers
29 views

JSON-LD in MarkLogic SPARQL Query

How can I "Accept" JSON-LD as the output format of a CONSTRUCT or DESCRIBE query in MarkLogic? The documentation doesn't seem to specify anything about JSON-LD.
Daniel's user avatar
  • 107
1 vote
3 answers
43 views

Date/Element range index on MM-DD-YYYY format in MarkLogic

Have user data with timestamp in the below format and stored as string. MM-DD-YYYYThh:mm:ss Sample: { "Name":"myname", "created":"12-17-2014T13:40:07" } I ...
MarkLogic Engineering's user avatar
1 vote
1 answer
21 views

How to identify empty value in MarkLogic

I want to find json documents which have json property productid with an empty array as value in MarkLogic. Sample JSON { "productid":[], "sequenceid": "4022" } I tried ...
swat's user avatar
  • 81
1 vote
0 answers
31 views

MarkLogic - Performance Tuning - Improving Performance of MarkLogic XQuery for Large Dataset Search

I have an XQuery module that searches through various data sources and retrieves matching registered products based on IDs. However, I am experiencing performance issues when dealing with large ...
Pawan's user avatar
  • 11
1 vote
0 answers
43 views

Marklogic ml-gradle: 400 The plain HTTP request was sent to HTTPS port

We've recently migrated to https with our self-hosted MarkLogic instance and struggle to deploy roles to it using ml-gradle. Other resources deploy just fine, but mlDeployRoles seems to ignore https ...
Kamil Budziewski's user avatar
2 votes
1 answer
43 views

How do I update collections of an XML in MarkLogic that is a very large document?

I'm working with a large XML file in MarkLogic—around 50MB and 700,000 lines long. The task involves adding and removing specific collections using an XQuery module. Previously, I used xdmp:invoke-...
Mehul's user avatar
  • 178
2 votes
1 answer
62 views

Understanding Marklogic's geo.regionDe9im result

I received 2FFF1FFFF DE-9IM result for the following query: var marklogicGeo = require('/MarkLogic/geospatial/geospatial'); relation = marklogicGeo.regionDe9im( "POLYGON ((0 0, 1 0, 1 1, 0 1, 0 ...
RedCrusaderJr's user avatar
1 vote
1 answer
75 views

MarkLogic- TCP Connection timeout issue during MarkLogic - Roxy deployment

We have recently migrated the cluster from Classic Load Balancer (CLB) to Application Load Balancer (ALB) and tried to deploy the XQuery modules using Roxy along XDBC/XCC with an SSL enabled port. We ...
user26849883's user avatar
1 vote
1 answer
26 views

Using method op.and with multiple boolean expressions functions slows down my query

In my case I am using both op.or() and op.and() with multiple boolean expressions (about 250 and more). Method op.or() works fine but when I change method in .where() to op.and() with the same list of ...
Michał Sobański's user avatar
1 vote
1 answer
17 views

how to install/extend a custom rest extension in MarkLogic using ml-gradle?

I want to have ml-gradle to install/extend the custom rest endpoint, via ml-gradle. Could you please provide some sample example or details, how to configure the ml-gradle for that? I am able to ...
Kumar's user avatar
  • 31
0 votes
0 answers
47 views

MarkLogic Document Conversion

I am using xdmp:word-convert to convert DOC/DOCX files to XHTML and xdmp:pdf-convert for PDF to XHTML conversion. While the conversion works as expected for smaller files (e.g., a 28KB document), it ...
Pawan's user avatar
  • 11
1 vote
1 answer
27 views

Installing MarkLogic Unit Test Without Modules Database

In my experience with MarkLogic Unit Test I have always had my modules under src/main/ml-modules. However, I have a ml-gradle project where we do not have a modules database and instead use a path to ...
nobleb's user avatar
  • 129
1 vote
1 answer
37 views

Unexpected Behavior in cts search with and without Whitespace Sensitivity - MarkLogic

We have two XML documents with the following elements: <!-- Document 1 --> <LegacyCode>09Y14K012D3001</LegacyCode> <!-- Document 2 --> <LegacyCode>09 14 012 3001</...
Ashish Patil's user avatar
1 vote
1 answer
24 views

MarkLogic Timestamps and Search

I have three records in a collection with time information recorded like this: {utcTime: "13:28:00+0000", utc: 1329398880000, etDate: "02/16", etTime: "08:28:00-0500"} {...
Marc's user avatar
  • 1,690
1 vote
1 answer
17 views

Marklogic cts:search in RestApi extension

I do some cts:search when I PUT a document through a Rest API extension. This takes too long comparing to the same cts:search called in the GET method of the same extension. Perhaps it is due to the ...
Samurai Jack's user avatar
0 votes
1 answer
27 views

I have implemented SSL for odbc server in Marklogic but it's showing error_invalid_http_response

I have implemented ssl for Marklogic ODBC server. I followed the Marklogic documentation steps. https://docs.marklogic.com/guide/security-guide/en/configuring-ssl-on-app-servers.html After ...
Balan's user avatar
  • 393
1 vote
1 answer
53 views

MLCP Logging Issues Post-Upgrade for MarkLogic, Gradle, and MLCP

We recently upgraded the following components: Component Before After MarkLogic Server 10.0-9.2 11.1.0 Gradle 5.2.1 6.4 mlcp/XCC 9.0.8/9.0.7 11.0.3 After the upgrade, our scheduled MLCP tasks are ...
Ashish Patil's user avatar
1 vote
1 answer
35 views

Need explanations on a few managed document properties

I see following properties in one of the managed documents. <dls:version xmlns:dls="http://marklogic.com/xdmp/dls"> <dls:latest>true</dls:latest> <dls:created>...
Avinash Shukla's user avatar
1 vote
0 answers
30 views

Connection timed out error in mlcp export

mlcp export command is giving timed out error after completion of 33% while exporting jsons. I have increased the timeouts in the xdbc server configurations, but still not able to export complete ...
Harshitha's user avatar
1 vote
1 answer
71 views

How to map a User to an external User if externalSecurity is Oauth 2.0 ( Cognito) with Marklogic 11.2?

I manage to create the external security Oauth2.0 with Aws Cognito. When I go the calls to the Marklogic Application Server ( via postman) i get the user authenticated. But it seems that is not mapped ...
Monica Moldovan's user avatar
1 vote
1 answer
27 views

Count and Highlight matching text in cts:near-query

I have requirement to count and highlight the matched terms, the below code counts OVER & LOAD as two different terms , whereas in near query(OVER NEAR/1[ordered] LOAD) this should be OVERLOAD(...
Pragya Kapoor's user avatar
0 votes
0 answers
29 views

User ID mismatch with OAuth 2.0 Authorization

I am using OAuth 2.0 Authorization (marklogic-xquery-oauth2) with MarkLogic 11.1.0. For a request to the app-server with application-level authentication and default user as oauth-anon (details in the ...
Avinash Shukla's user avatar
1 vote
1 answer
26 views

Replacing only the key attribute and not the text content in marklogic doc

Let's say we have a doc as: <node> <name>Shivangi</name> <desig>Software Engineer</desig> </node> I want it to be changed to: <node> <FirstName>...
Shivangi Gupta's user avatar
0 votes
1 answer
39 views

Can an index on a property be passed into a MarkLogic UDF?

I have a User Defined Function I've written for MarkLogic that I'd like to do work over three path range indexes. The first two indexes are on element values and the third is over a document property. ...
Nick A. Watts's user avatar
1 vote
1 answer
31 views

Marklogic : cts:parse to run wildcarded/case-insensitive searches with NEAR option

I have a requirement to run the below string wildcarded and case-insensitive search "overexpression NEAR/1[ordered] predict*" I am using cts:parse("overexpression NEAR/1[ordered] ...
Pragya Kapoor's user avatar
3 votes
1 answer
35 views

Need explanation how MarkLogic's search:suggest function work

I'm trying to use search:suggest function and during experiments a few questions came up. So I have a database with 10 documents that contains only one property: { "title": "Do Androids ...
user24802616's user avatar
0 votes
1 answer
42 views

I'm facing Forest error during rebalancing

While running rebalancing I'm getting Forrest error but database available. Please refer the below error. Can I restart the forest to resolve this error? We are configured Automatic cache setting. ...
Balan's user avatar
  • 393
0 votes
0 answers
33 views

Custom end point for dls:document-remove-properties(Xquery)

I am working on creating custom endpoint for dls:document-remove-properties in MarkLogic using XQuery but I am experiencing difficulties. Here is the function from MarkLogic: dls:document-remove-...
Sleep3000's user avatar
1 vote
1 answer
37 views

MarkLogic: how to use the xdmp:jwt-decode() function

We are running Marklogic Enterprise v11.1.0, and I am trying to run the xdmp:jwt-decode() command as defined in the v11 documentation I do not see any mention of imports that need to be defined. I am ...
John Gassman's user avatar
1 vote
1 answer
56 views

XQuery Optimization in MarkLogic for Large Dataset Queries

I'm currently working on a project that involves querying large datasets in a MarkLogic database, and I've noticed that some of my XQuery scripts are running slower than expected, especially as the ...
Harsh's user avatar
  • 23
0 votes
0 answers
29 views

My replica database forest status shows "sync replica" for long time

My replica database forest status shows "sync replica" for a long time but other forest bulk sync-up is completed and changed to open replica, but only one forest is showing sync replica in ...
Balan's user avatar
  • 393
1 vote
1 answer
49 views

JSON schema validation for number types in MarkLogic

I am using xdmp:json-validate-node function to validate json document before inserting it to MarkLogic. but seems json schema validation does not raise error when number typed field has NaN value. I ...
JayDip's user avatar
  • 13
1 vote
1 answer
35 views

Ordering by nullable values should order nulls before 0

I am using templates views and optic library to display list of items. Now in result after ordering ascending I get something like this in output: 0.00, 1.55, null. The correct result should be: null, ...
user avatar
1 vote
0 answers
13 views

Is it possible to create a jsonPropertyScopeQuery in a JavaScript Query Generator Function?

I'm trying to create the following query based on a "search syntax": cts.jsonPropertyScopeQuery("status", cts.jsonPropertyScopeQuery("current", cts.jsonPropertyValueQuery(...
David Steiner's user avatar
1 vote
1 answer
53 views

Automatic schema validation in MarkLogic

Is there a way to automatically validate an XML document against a schema stored in the schema database? By automatic, I mean that if try to insert an invalid XML document (as per schema) using the ...
Avinash Shukla's user avatar
1 vote
1 answer
57 views

Marklogic versioning

I'm new to ML and have a versioning question. My company is running 10.0-8.5. Is the 10.0-8 the version and .5 is the patch or is 10.0 the version and 8.5 is the patch? I've heard both at work and can'...
user23618648's user avatar
0 votes
1 answer
42 views

Gradle throwing error "MANAGE-INVALIDPAYLOAD"

I am doing deployment using Gradle using command "mlDeploy" it is throwing the below error: Executing command [com.marklogic.appdeployer.command.cma.DeployConfigurationsCommand] with sort ...
Dharmendra Kumar Singh's user avatar
2 votes
1 answer
83 views

Marklogic optic query is running very slowly in the Java client, but it is running fast in the query console

I have java spring boot application hosted on azure app service. I am running a optic query to select columns from a table with almost 10 million records. I am doing pagination using offset limit and ...
manish gupta's user avatar
0 votes
0 answers
26 views

Spelling suggestion query (MarkLogic)

The following code returns an empty sequence: let $dictionaryFileURI := "/dictionary.xml" let $suggestOptions := <options xmlns="http://marklogic.com/xdmp/spell"> &...
Avinash Shukla's user avatar
1 vote
1 answer
43 views

MarkLogic XDMP-INVZIP: Invalid zip file while trying to import the configuration zip file

I export the cluster configuration file through management console "http://localhost:8002/manage/v3?format=zip" and try to import through curl command but it return below error can you ...
Balan's user avatar
  • 393
1 vote
2 answers
55 views

How to configure granular privileges in MarkLogic to permit updates to the configurations of a specific database only, while excluding all others?

I'm seeking guidance on configuring granular privileges in MarkLogic to allow updates to database configurations for a specific database only, excluding others. For example, I have a user named '...
Sunny's user avatar
  • 63
1 vote
1 answer
57 views

Fail to pass paramater from sjs to xquery in DHF 6.0.0

I could not pass a variable from sjs script to xquery inside dhf 6.0.0 project. It keeps saying the variable is not defined. However, I could run the same script in console successfully. Here is the ...
XCELERENT - I want to dance's user avatar
1 vote
1 answer
52 views

MarkLogic: Understanding Schemas, Triggers, and Modules (with Examples)

I'm just starting to use MarkLogic and need guidance on effectively utilizing Schemas, Triggers, and Modules. I am not sure i am understanding how to create them nor what their uses are. When creating ...
Abuti's user avatar
  • 21
1 vote
1 answer
63 views

MarkLogic - search.suggest does not return any values

I'm trying to use search.suggest to return me some suggestions based on a multiple range indexes in my database. So far I've tried with single string element range index, but can't figure out proper ...
Kamil Budziewski's user avatar
1 vote
1 answer
71 views

Field value query and filed range query, result not matching

I am getting different result when I execute below query, cts:field-value-query is returning 10355058 count and cts:field-range-query or cts:path-range-query is returing 12189408 count, so I am not ...
Shivling Bhandare's user avatar
1 vote
1 answer
48 views

How to get list of user with specific roles in MarkLogic

How do I retrieve all the users from a specific role? I need to remove those users from the role also. This code only displays the roles associated with the user. xquery version "1.0-ml"; ...
Balan's user avatar
  • 393
1 vote
3 answers
63 views

How to use mlcp export for RDF and specifically Turtle files?

We currently use mlcp to import Turtle files. We specify 'rdf' on import, which works fine. However, there doesn't seem to be a way to specify this on export using mlcp. The documentation only ...
Zelgius's user avatar
  • 13
0 votes
1 answer
22 views

I need to update the existing user roles through REST service in Marklogic

How can I add/remove an existing user role through the REST service in Marklogic? if possible can you share the sample code?
Balan's user avatar
  • 393
3 votes
2 answers
95 views

MarkLogic data movement in the Node.js API - queryAll()

The bug has been resolved as of version 3.3.1. It's a bug, and a patch release is forthcoming. This workaround —courtesy of Phil Barber, a contributor to the repository — worked for me in the ...
Sunny's user avatar
  • 63

1
2 3 4 5
78