MarkLogic Connect
MarkLogic Connect Client API Collection
|
Helper functions for common batch document operations. More...
#include <DocumentBatchHelper.hpp>
Static Public Member Functions | |
static MLCLIENT_API void | addFilesToDocumentSet (const std::string &folder, const std::string &baseFolder, const bool stripBase, const std::string &appendBase, const CollectionSet &collections, const PermissionSet &permissions, IDocumentContent *properties, DocumentSet &addTo, bool showHiddenDirs=false) |
Takes all files in a folder and subfolders and adds them to a DocumentSet. More... | |
Helper functions for common batch document operations.
|
static |
Takes all files in a folder and subfolders and adds them to a DocumentSet.
Works cross platform on Windows and Mac. Can also be used via the C# wrapper.
See the cppbatchupload and csbatchupload samples for example usage.