MarkLogic Data Hub Service

Fast data integration + improved data governance and security, with no infrastructure to buy or manage.

Learn More


Stay On Top Of Everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up


MarkLogic World 2019

Learn how to simplify data integration & build innovative applications. Join us in Washington D.C. May 14-15!

Find Out More


Stay On Top Of Everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up


Whether you're new to MarkLogic or a seasoned pro, there's something here for you. Be sure to also visit the online product docs. You may also want to learn more about Free On Demand and Instructor-Led Training offerings.

The MarkLogic Support team also produces a very helpful Knowledge base.

Once you've built up your knowledge, you can go for your certification as a MarkLogic Developer or MarkLogic Administrator.

MarkLogic 9 Tutorials

MarkLogic Data Hub Service on AWS
Leverage the MarkLogic Data Hub as a fully automated cloud service. Get started using it in AWS.
Entity Services
Design applications around real-world concepts, or entities.
Optic API
Blends the relational world with rich NoSQL document features by providing the capability to perform joins and aggregates over documents.
Template Driven Extraction
Define a relational or semantic lens over your document data, specifying which parts of documents make up rows in a view or triples.
Data Movement SDK
Java library for applications that need to move large amounts of data into, out of, or within a MarkLogic cluster.
Building a Search and Export App with the Data Movement SDK
This tutorial walks you through the basics of the Data Movement SDK so you have the tools to build a search and export app.


Recipes provide easily reusable solutions to common problems. Check out our collection.

(full list)

White Papers

Inside MarkLogic Server
This eBook provides a high-level introduction in Chapter One and then dives deep into technical capabilities that developers and architects will appreciate.
Integrating with Single Sign-On
This guide explains how applications built on MarkLogic can be integrated with SSO solutions at the database layer in order to prevent passwords from being directly sent to MarkLogic.
Performance: Understanding System Resources
This guide provides details about MarkLogic core functions and operations so that DBAs, Infrastructure Architects, Developers and Engineers can configure MarkLogic for optimal success.
Hardware Reference Architecture: Direct Attached Storage
Provide details on commodity hardware recommendations, recommended hardware and RAID configurations for commodity hardware, and basic forest layout recommendations for Direct Attached Storage.
MarkLogic On AWS
MarkLogic runs easily on Amazon Web Services (AWS), a flexible, cost-effective, easy-to-use cloud computing platform. Read about general best practices and MarkLogic implementation characteristics such as performance, durability, and security with particular attention to identifying features that support scalability, high availability, and fault-tolerance.

Featured tutorials


The Java API in 5 minutes
Get a taste of what the code looks like.
Learning the MarkLogic Java API
Take a hands-on deep dive.
Writing and Searching POJOs
Learn how MarkLogic makes persisting & searching POJOs a walk in the park.


The REST API in 5 minutes
Get a taste of the REST API without getting your hands too dirty.
Learning the MarkLogic REST API
This is a hands-on deep dive into managing, searching, and querying data via MarkLogic's REST API.


Developing XQuery Applications
Construct your first simple XQuery application.
Interactive XQuery playground
Experiment with XQuery in MarkLogic from the comfort of your own browser.
5-minute guide to the Search API
Learn hands-on all the building blocks of a powerful search application.


The Node.js Client API in 5-minutes
A quick taste of the Node.js Client API.
Node.js Client API Getting Started
Get started with the MarkLogic Node Client API.
JSearch in 5 Minutes
Get a taste of the Server-side JavaScript JSearch API.
Server-side JavaScript Getting Started
Get started with the Server-side JavaScript JSearch API.

Frequently Asked Questions

Geospatial Region Search FAQ
Common questions about comparing regions
Geospatial Double Precision FAQ
Common questions about double-precision geospatial indexes
Hadoop Integration FAQ
Questions about integration between Hadoop and MarkLogic
Questions About Semantics
Have questions about Semantics? We've got answers.
Template Driven Extraction (TDE) FAQ
Frequently Asked Questions about TDE

Modeling and Loading Data

Data Modeling Guidelines
General data modeling guidelines for XML and JSON documents in MarkLogic.
Entity Services
Design applications around real-world concepts, or entities.
Data Movement SDK
Java library for applications that need to move large amounts of data into, out of, or within a MarkLogic cluster.
Template Driven Extraction (TDE) FAQ
Frequently Asked Questions about TDE
MarkLogic Content Pump
Download and get started using this command-line tool for moving data into and out of MarkLogic.


Questions About Semantics
Have questions about Semantics? We've got answers.
Semantics Exercises
Learn via a series of hands-on challenges.

Other tutorials


Building a Search and Export App with the Data Movement SDK

This tutorial walks you through the basics of the Data Movement SDK so you have the tools to build a search and export app.

Getting Started with MarkLogic Data Hub Service on AWS

MarkLogic Data Hub Service lets your business focus on actually taking advantage of your data rather than have to worry about cloud computing concerns. This guide is intended to get non-AWS folks up and running, and will focus on the different parts to get up and running. It is divided into two parts: System Administrator and Developer.

Web Services with MarkLogic Server

This tutorial will walk the reader through the process of developing a simple SOAP web service wrapper to exemplify how a SOAP request might be passed to MarkLogic Server.

Entity Services

Model-driven data integration around real-world entities

Optic API

Native language query interface to perform joins and aggregates over documents

Template Driven Extraction

Data Movement SDK

Semantics Recipe: Semantic Infobox

Recipe for how to create a Semantic Infobox

Developing XQuery Applications: Part 1

Developing XQuery Applications: Part 1

Developing XQuery Applications, Part 2

JSearch in 5 Minutes

JSearch is a new Server-side and high-level Javascript API that makes common search tasks (search, facets, and aggregates) easy. This tutorial will provide a quick introduction of using the API.

The Node.js Client API in 5 Minutes

Getting Started with the Node Client API

Learn the basics of the Node.js Client API

Customized Tokenization

Hands-on code examples for configuring the tokenization of hashtags, user names, and phone numbers inside tweets.

Using an Aggregation Function via REST

Aggregation function In a recent post, I showed how to build a your own with MarkLogic 6...

A MapReduce Aggregation Function

MarkLogic has the ability to call out to C++ code to do Map/Reduce calculations...

The Inside Story -- Configuration and Status Information

Introducing tools and a RESTful API for access to MarkLogic Server configuration and status information.

Developing XQuery Applications: Part 1

Developing XQuery Applications, Part 2

Writing and Searching POJOs in MarkLogic

5-minute Guide to Packaging

Packaging, part of the suite of Configuration Management features, makes it easy to move application server and database configurations between machines. Run through this tutorial to get up to speed.

SQL to MarkLogic mapping

Helpful analogies for those coming to MarkLogic from an RDBMS world

Query, Search, and Indexing

Inside MarkLogic Server

This paper describes the MarkLogic Server internals: its data model, indexing system, update model, and operational behaviors. It's intended for a technical audience — either someone new to MarkLogic wanting to understand its capabilities, or someone already familiar with MarkLogic who wants to understand what's going on under the hood.

Eclipse Plugin Setup Instructions

Step-by-step instructions to getting set up with MarkLogic and the Eclipse XQDT Plugin

Serving Images with MarkLogic Server

RecordLoader: Ingesting XML with Knife, Fork, and Shovel

XQSync: a Wheelbarrow for Content

Using XML Schema with MarkLogic Server

An Introduction to MarkLogic Server and XQuery

A technical introduction to MarkLogic Server is, what you can do with it, and how to use it via XQuery.

PerformanceMeters: Test Harness for XQuery

Integrating MarkLogic Server With the Apache Webserver

Day One Concepts and Terms

Paginated Search for Web Applications

MLJAM: An XQuery Library for Evaluating Java Code

Data Management

5-minute Guide to the Search API

This introductory tutorial walks you through a complete sample application of the Search API, quickly covering a large range of its features.

ISO-8601 Dates in Java and XQuery

Using The MarkLogic XQuery JSP Tag Library

Data Model

MLSAM: An XQuery Library for Relational Database Access

MLJAM: Wire Protocol Documentation



What is Enterprise NoSQL
A video introduction to Enterprise NoSQL.
65 Million Emails and Growing – Search and Analysis in seconds
This is a demo of how MarkLogic powers
How does MarkLogic Fit in Your World?
A video introduction to MarkLogic architecture and how it fits in your world.
Getting Started with MarkLogic and EC2
How to fire up the MarkLogic Developer AMI, configure a REST API instance and make some simple use of the database.
Getting Started with MarkLogic and Amazon Cloud Formation
How to launch a MarkLogic Cluster using Amazon Cloud Formation templates
Query Console
Screencast that shows features available in Query Console.
New features in Query Console as of MarkLogic 7
This demo shows off new UI features as well as access to SQL and SPARQL in Query Console
Plugin for Nagios Screencast
Screencast that shows how to monitor MarkLogic using Nagios.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.


The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.
  • Hi, I am Writing Java optic Api which consist cts.andQuery() and more and i want to execute sql query on cts query Result. like ModifyPlan modifyPlan = planBuilder.fromView(getSchemaName(), getViewName()) .select("col_1","col_2") .where(planBuilder.cts.andQuery(planBuilder.cts.wordQuery("val1"), planBuilder.cts.wordQuery("val2") )); Above code works but i want to apply sql query on this result inside java class.
  • Hi, We are looking for Marklogic Developer (6+ Months Contract) for our client based out of New York City, NY. Please let me know if someone is interested for the same. Thanks Deepak
  • Hi, When do we have the eBook " MarkLogic Cookbook - Implementing XQuery: Practical Solutions to Real-World Problems" be available? the link below is not working.
    • Sorry, I pushed that update too soon. The Cookbook should be available soon; in the meantime, please take a look at
  • I am glad that I was able to come across in this blog that shows lots of opportunities that could help a person in having those tutorials that would expand their knowledge on how to learn from it. Through this, it would be easy for them to follow some certain kind of steps that will make them one of the best developers nowadays.
  • Hi, This is a general comment on Marklogic training material. I have a rapidly expanding team and we are trying to get people on-boarded to using Marklogic. Our engineers are reporting that its not always the task at hand or the Marklogic interface that's stumping them. Instead, they often just don’t have enough background information to form a mental picture of how all the parts of Marklogic work together. To help people quickly grasp the relationships inherent in the software, it would be great to focus on the whys behind the processes. So while we’ll always have tutorials for getting from A to B quickly, it would be great to also have articles describing how different parts of the application fit together. Towards this end, something like a Marklogic learning path (something like this - "") would be invaluable. This will greatly help managers on-board people faster in to your exciting technology. Just my two cents....
    • i totally agree, the technology looks great but the instruction videos and documentation very fragmented. I would like to see a simple example how to upload a few sources, combine together with semantics and present it in a browser with server side scripting. What i find is all separately uploading, mostly in the query builder, semantics, service side scripting all presented in different videos, of different ML versions very technical or just high over.
      • Agree. The material is very fragmented. I wish we have few simple applications that we help us up & running quickly
    • Hi Vignesh, and thanks for the feedback. I highly encourage you to have your developers go through a few (free) MarkLogic University courses ( With the general concepts material understood, the tutorials here will make a lot more sense. I'll also suggest the Guides our docs team has put together, particularly the Application Developer's Guide. That said, I hear you that you'd like it to be easier to pick up these concepts.
      • Thanks David, we are using this now. However the problem is that we have no idea of the right order of courses to take and we could use some help on that front.
        • Hi Vignesh, I can help -- I'm an instructor and curriculum developer with MarkLogic University. The starting point for your developer team is the 1 day MarkLogic Fundamentals course. After completing that course, they should enroll in one of our Developing MarkLogic Applications 1 courses. They should take the Developer 1 course that is appropriate for the type programming language they will be using. For example, if you are looking to build Java applications, take the Developer 1 Java course. There is also a version of Developer 1 for Node.js developers and XQuery developers. You can register for training here: You may also wish to send some of your team to MarkLogic World 2015. The event is free and there will be workshops and training available at the event, including offerings of the MarkLogic Fundamentals course on the days after the event:
          • Thanks for the help Greg, we will be there for MarkLogic World 2015.
  • thank you for sharing java script ....
  • I work Ruby on Rails,Can you guys write how to integrate mark Logic with our Rails applications, A sample application or a good elaboration tutorial can help me. You have written for Java and DotNet, But not for Rails. Thanks in Advance.