marklogic-7

How to process large number of documents in chunk to avoid expanded tree cache full

淺唱寂寞╮ 提交于 2020-03-25 13:43:24
问题 I have one entity in MarkLogic under which around 98k+ documents ( /someEntity/[ID].xml ) are present and I have one situation in which I have to add a few new tags in all those documents. I prepared a query to do add child node and then try to run against that entity receiving expanded tree cache full. I increased cache memory to few more gigs and it works and takes a long time to complete. Also tried with xdmp:clear-expanded-tree-cache() and it also won't work. Any pointers how we can fetch

Managed document not working in MarkLogic 10 after xdmp:document-insert

守給你的承諾、 提交于 2019-12-11 15:52:33
问题 First time manage document using dls:document-insert-and-manage Update the same document using xdmp:document-insert Document get lost from the dls latest version collection cts:search(/scopedIntervention/id , dls:documents-query()) First time manage document <scopedIntervention> <id>someId12345</id> <scopedInterventionName> First Name </scopedInterventionName> <forTestOnly> true </forTestOnly> <inactive> true </inactive> </scopedIntervention>)``` **Document inserted with versioning** Verify

Access Logs across a cluster

时光毁灭记忆、已成空白 提交于 2019-12-10 17:03:27
问题 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 that Each host in a cluster maintains its own audit log files. Does it work the same way for Access logs. Thanks, Karthik 回答1: All MarkLogic Logs on a host only contain info about that host. HTH! 回答2: You can access files on all hosts in a cluster