RecordLoader

down arrow Code & Downloads

RecordLoader is a Java-based tool, designed to load any number of arbitrary-sized input documents into a MarkLogic database. To get started with RecordLoader, try the tutorial. Cababilities include:

Note: Starting with MarkLogic 6, Marklogic Content Pump (mlcp), is a fully-supported tool that covers the same ground as this long-standing open source project. Content Pump is not supported on older versions of MarkLogic Server. Stick with recordloader if you are running earlier versions of MarkLogic.

  • load from input files or standard input
  • input files may be xml files, or zip archives of xml files
  • autosplit into new documents, using element name
  • add read-permissions for one or more roles
  • add collections
  • generate document uris from a prefix, suffix, and element or attribute value
  • up to one thread per input file
  • optionally specify document forest placement
  • optionally transform content using an XQuery module
  • plug in subclasses to customize functionality

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