[MarkLogic Dev General] xdmp:document-delete() queries hanging
Alan Storm
astorm at rubicon.com
Wed Jul 2 09:24:54 PDT 2008
I'm running into an odd problem when using the xdmp:document-delete
function. I'm relatively new Mark Logic and not sure where to begin
tracking down this problem. If anyone can point me in the right direction
or has a theory as to what's going on I'd appreciate the help.
Through cq, if I run the following query, (fake path)
xdmp:document-delete(
"/Path/To/File/file_name_9906.xml"
)
my web browser will just spin and spin, seemingly forever. What's odd is,
if I attempt the same query with a **different file** in the same folder,
the query runs fine and will remove the document
xdmp:document-delete(
"/Path/To/File/file_name_9905.xml"
)
I'm able to **view** the content of the document without any problems
for $xml in doc("/Path/To/File/file_name_9906.xml")
return $xml
It's only when I attempt to delete it that I run into problems. I also run
into the same behavior when attempting to replace a node in the same
document.
We're running our Content Server on the windows server platform. I've
monitored the event viewer and haven't seen any log messages that relate to
this. I'm not sure what level of logging we or the server are doing though
(like I said, I'm very new to Mark Logic).
Any debugging tips and/or theories as to what's going on would be greatly
appreciated.
Thank you.
--
Alan Storm
astorm at rubicon.com
Rubicon International
More information about the General
mailing list