Hi,
As mentioned by Kelly Stirman I,ve tried all different ways of using
xdmp:invoke to catch the above mentioned error , but I am unable to catch
it (XDMP:Range-Index ) exception.
Thanks
Sachin .
On Fri, Dec 16, 2011 at 4:35 PM, Geert Josten geert.jos...@dayon.nl wrote:
Hi John,
Thnx.
That looks like an admin server error. If you do not have the latest patch
release for whatever server you are running, try upgrading. If you can
reproduce it with the latest patch release, contact support.
-- Mike
On 21 Dec 2011, at 09:54 , mcundi...@comcast.net wrote:
Can anyone tell me
Hi,
I uploaded quite a number of docs, but accidentily forgot to turn off
automatic directory creation. Can I delete the directory nodes without
deleting any documents underneath? I though xdmp:document-delete on a dir
uri should work, but that throws an exception these days. And
Have you tried something like this?
xdmp:node-delete(
xdmp:document-properties($directory-uri))
The xdmp:document-properties call should return the document node for the
directory fragment. The node-delete should delete it, removing the entire
fragment.
-- Mike
On 21 Dec 2011, at 22:53
I think you can just delete them as if they were documents. Because that's all
they are.
-jh-
On Dec 21, 2011, at 10:53 PM, Geert Josten wrote:
Hi,
I uploaded quite a number of docs, but accidentily forgot to turn off
automatic directory creation. Can I delete the directory nodes without
Yeah, thought so too, but xdmp:document-delete doesn't seem to work (any
more) on directory uris..
Kind regards,
Geert
-Oorspronkelijk bericht-
Van: general-boun...@developer.marklogic.com
[mailto:general-boun...@developer.marklogic.com] Namens Jason Hunter
Verzonden: donderdag 22
Hi Mike,
Interesting thought. That would effectively destroy the properties
fragment of a directory? Is that the way one could get rid of the
properties fragment of plain docs too?
Sounded worth a try, but doesn't seem to do anything unfortunately.
Calling xdmp:document-properties on the same
Might also just be caused by the fact that there *is* a request param
named 'database' in the query string, but it happens to be empty. A
workaround could be to do the following:
xs:unsignedLong((xdmp:get-request-field(database)[. != ], 0)[1])
Not the prettiest, but it should work.. :-/
Kind