Configure MarkLogic CQ
CQ is MarkLogic’s client-side tool for interacting with the XML database. It is a web-based tool, which makes the deployment easy. This assumes that you’ve already installed and configured the MarkLogic Server. If not, you can read Install MarkLogic and Configure MarkLogic before you do these steps.
- After completing the configuration, you should download the CQ tool from the MarkLogic download server.
- Open a Windows Explorer session and navigate to where you’ve installed MarkLogic, which will be installed in the Program Files directory for a 32-bit Windows and Program Files (x86) directory for a 64-bit Windows (for a 32-bit version of MarkLogic). The 64-bit version of MarkLogic won’t install on a 32-bit Windows but will install in the Program Files folder of a 64-bit Windows installation. Click on the Docs subfolder to expose its subfolders, like the following.
- Drag the CQ components into the MarkLogic\Docs\cq folder.
- Provided you’ve started the MarkLogic Service on Windows, you can access CQ by using the
http://localhost:8000/cq
URL. This is shown with the default program unit in the following screen shot. You can run it by clicking the XML button.
You might try some of your own XQuery code, like this:
1 2 3 | let $message := "Hey world, hello!" return (xdmp:set-response-content-type("text/html"), <body>Live from New York City, [{$message}]</body>) |
[…] CQ client software […]
How to install and configure MarkLogic
3 Dec 10 at 12:48 am
Can you explain how CQ can be installed for RHEL?
Boo
9 Feb 11 at 10:32 am
I had all those folders EXCEPT for cq…
After *MUCH* searching, I found a download page on CQ here.
Chris Staber
9 Mar 11 at 12:39 am
I noticed that we need to Oopen a window for step 2.
How is this done?
Bill Evans
1 Jul 11 at 1:33 pm
What’s that, ouch a typo or a question? If a question, you click on Start -> My Computer, click on the
Local Disk (C:) icon, then the Folder button in the toolbar. :-) By the way, I removed the extraneous "o".
maclochlainn
1 Jul 11 at 6:37 pm
Just a note for those that might follow in my footsteps. If you have downloaded MarkLogic 5 you don’t need to download CQ. It is already built into MarkLogic 5.
Jason Hudson
9 Nov 11 at 1:37 pm