[MarkLogic Dev General] Emptying a database
Dominic Mitchell
dom at semantico.com
Wed Aug 15 02:00:42 PDT 2007
Is there a quick way to empty a database? I'm running something like this:
for $doc in input()
return xdmp:document-delete(base-uri($doc))
But it keeps timing out.
In an RDBMS, I'd normally drop the database and recreate it, but that's
difficult because MarkLogic Server doesn't appear to have the same sort
of schema dumps. Is there something equivalent that I'm missing?
-Dom
More information about the General
mailing list