Skip to content
CL-Marklogic is a Lisp system for optimizing MarkLogic clusters.
JavaScript CSS Common Lisp Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
data/cl-marklogic
default-project
lib
ml-rest
subsystem
xquery
.gitignore
LICENSE
README.md
cl-marklogic.asd
cl-marklogic.lisp
initialize.lisp
package.lisp

README.md

cl-marklogic

cl-marklogic is a Common Lisp system for optimizing MarkLogic clusters. There is a stable version of cl-marklogic in the QuickLisp repository.

Tested with MarkLogic 8. Tested with SBCL and ABCL.

Quick Start

This quick tutorial shows you how to run some simple examples using cl-marklogic. It is written to use SBCL, and QuickLisp on OSX. If you are using a different operating system you will need to adjust some details but the overall steps will be the same.

1. Install Homebrew.

2. Install SBCL:

brew update
brew install SBCL
brew install rlwrap

3. Install QuickLisp.

4. Start the SBCL REPL:

rlwrap sbcl

5. Load cl-marklogic.

(ql:quickload "cl-marklogic")

The first time you load cl-marklogic, QuickLisp will download it and any dependencies from the repository.

6. Load ml-test and run the unit tests:

(ql:quickload "ml-test")
(ml-test:test-all)

The connect test will fail since we have not configured a MarkLogic connection.

7. Load ml-optimizer and start it:

(ql:quickload "ml-optimizer")
(ml-optimizer:start)

8. Connect to ml-optimizer with a browser.

By default ml-optimizer starts with a cached cluster configuration for demonstration.

You can’t perform that action at this time.