The MarkLogic Java Client API provides access to core MarkLogic database and search functionality. It allows Java developers to get going quickly, enabling them to re-use existing knowledge, skills, libraries, tools, and development environments.


Downloads

Release 5.0.1 zip package (compatible with MarkLogic 10) — 11MB (SHA1)

JAVA CLIENT API ON GITHUB ›


Major Features

  • Document CRUD and management, including support for JSON, XML, binary, and text documents
  • Advanced full-text search, including snippeting and stemming
  • Multi-statement and multi-document transaction management
  • Supports semantic queries and updates common libraries, extending these APIs for variable bindings, combination queries and other features
  • Relational queries for use cases such as analytics
  • Security features, including role-based access control and document permissions

Getting Started

Tutorials and Examples
Requirements

See the Getting Started section of the Java Application Developer’s Guide for an introduction on the Java Client API, including what version of Java is required.

Maven
Dependencies
<dependency>
  <groupId>com.marklogic</groupId>
  <artifactId>marklogic-client-api</artifactId>
  <version>5.0.0</version>
</dependency>

Add this repository to your pom.xml repositories section:

<repository>
  <id>jcenter</id>
  <url>http://jcenter.bintray.com</url>
</repository>
Gradle
Dependencies
dependencies {
  compile group: 'com.marklogic', name: 'marklogic-client-api', version: '5.0.0'
}

Use gradle 1.7+ and add this to your build.gradle repositories section:

jcenter()

Documentation


Other Versions

MarkLogic 9

Release 4.2.0 zip package (compatible with MarkLogic 9) 19MB (SHA1)

Maven
Dependencies
<dependency>
  <groupId>com.marklogic</groupId>
  <artifactId>marklogic-client-api</artifactId>
  <version>4.2.0</version>
</dependency>

Add this repository to your pom.xml repositories section:

<repository>
  <id>jcenter</id>
  <url>http://jcenter.bintray.com</url>
</repository>
Gradle
Dependencies
dependencies {
  compile group: 'com.marklogic', name: 'marklogic-client-api', version: '4.2.0'
}

Use gradle 1.7+ and add this to your build.gradle repositories section:

jcenter()
This website uses cookies.

By continuing to use this website you are giving consent to cookies being used in accordance with the MarkLogic Privacy Statement.