enter image description here

Here I am doing marklogic enrichment with cts.entityHighlight. Is there any marklogic java API that do same things?

1 Answers

grtjn On

The MarkLogic Java API is a client library, and not designed to provide literal access to ad hoc instructions like above. You best encapsulate your code on server-side, and make it available for outside usage. Depending on how and when you want to use it, you could consider using a REST extension, or a REST transform for instance, but perhaps in your case Data Services makes most sense. You can find documentation on it here: