MarkLogic Java API
The MarkLogic Java 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 1.0-2 zip package | 6.2MB | |
|---|---|---|
| Maven repository | ||
Features
The API provides interfaces for
- Document CRUD and management, including support for
- JSON, XML, Binary, and text documents
- Organization via Collections and Directories
- Metadata (properties, permissions, quality, and last-modified time)
- Full-text search, including
- Result snippeting, paging, and facets
- Configurable search input string parsing
- Advanced search specification and configuration, including support for
- Keyword, phrase, value, near, and boolean searches
- Control of stemming, case-sensitivity, collation, and decompounding
- Control of diacritics and punctuation handling
- Tokenization and stemming for 13 languages
- Spelling dictionaries and thesauri
- Multi-statement (and multi-document) transaction management
- Analytics, including values and aggregates
- Security, including
- API-level security via seperate read, write, and administrative access control
- Management of document-level (and collection/directory?) privileges
It is built on top of the MarkLogic REST API.
Tutorials and Samples
- The Java API in 5 Minutes
- Learning the MarkLogic Java API
- Writing and Searching POJOs
- Sample MarkLogic Java API Application
Requirements
The MarkLogic Java API runs on Java 6 and later and requires MarkLogic 6 or later as well.
See Also
MarkLogic also provides a separate API for those familiar with XQuery that would like to either embed or invoke XQuery code from with in Java. See XCC for details and XCC downloads.
Documentation
![]()


MarkLogic Java Client API - Javadoc
Java Application Developer's Guide
Comments