0

I want to know which query is being run in the backend when we use the Marklogic java api for search keyword or criteria etc.

i could not locate the way to see the query. i tried the enabling the log level to debug but didn't help.

1 Answer 1

1

I'd start with looking at the AccessLogs, that should reveal which MarkLogic REST api calls are being made by the MarkLogic Java Client API library. That is well documented, so perhaps sufficient for your needs. I'm not sure it is very useful to drill down even further to look at the actual XQuery code. It would probably require you to poke around in MarkLogic Modules folder to figure out anyhow.

HTH!

Sign up to request clarification or add additional context in comments.

2 Comments

i have already looked at the Access log but did not help much. only have seen the rest api which is being called. is the any documentation for rest apis which marklogic have like swagger documentation or wadl so atlease i can find out the options .
No Swagger to my knowledge, but plenty documentation: docs.marklogic.com/REST

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.