Skip to main content

Administrating MarkLogic Server

Loading Documents into a Database

You can use the Admin Interface to load documents into the database. The documents will be loaded with the default permissions and added to the default collections of the user with which you logged into the Admin Interface.

To load a set of documents into a database, follow these steps:

  1. Click Databases in the left tree menu

  2. Click on the database into which you want to load the documents.

  3. Click on the Load tab near the top right.

  4. Enter the name of the directory in which the documents are located. This directory must be accessible by the host from which the Admin Interface is currently running.

  5. Enter a filter for the names of the documents to be loaded (for example, *.xml to load all files with an xml extension). For an exact match, enter the full name of the document.

  6. Click Next to proceed. The load confirmation screen lists all documents in the specified directory matching the specified filter.

  7. Click OK to complete the load.

The documents are loaded into the database. The URI path of the documents are the same as your filesystem path.