Analyzing Marklogic search requests

Viewed 26
1 Answers

Sort of depends on what you are doing. But there is probably tooling in this list to match your needs depending on what you are using for your implemntation:

cts.plan()

Returns an array of JavaScript objects recording information about how the given search will be processed by the index.


xdmp.sqlPlan()

Returns a node representing the query plan of the given SQL SELECT query.


sparqlPlan()

Return a node representing the query plan of the given SPARQL query.


op.explain()

This method returns a representation of the builtin execution plan.

  • could only find xquery doc link

Related