Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

230
Views
Analyzing Marklogic search requests

MarkLogic provides a possibility to see how the given search expression will be processed by the index. XQuery function xdmp:plan is responsible for that - https://docs.marklogic.com/xdmp:plan

The way it works is perfectly described here - https://www.marklogic.com/blog/working-with-xdmp-plan/

My question is if there is JavaScript analog of that function? How can I analyze the queries written in JavaScript?

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

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

about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!