Tutorials

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

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

Java

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.

REST

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.

XQuery

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.

JavaScript

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.

Semantics

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

Other tutorials

 

Title
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 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

Videos

 

Title
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 http://markmail.org
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.