> 1) How to get the size of a particular file in the
> marklogic server.
You could calculate the string-length of the serialized version of the file,
but that will not match the size it occupies in the MarkLogic database. That
can not be calculated.
For the string-length, you could try to do something like:
string-length(xdmp:quote(doc('/path/to/doc')))
> 2) How to get the lastModifiedby , LastModifiedTime
> (metadata)and etc.. of a particular file in the Marklogic server.
Lastmodified info should be part of the document-properties:
xdmp:document-properties('/path/to/doc')
Kind regards,
Geert
Drs. G.P.H. Josten
Consultant
http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit
bericht kunnen geen rechten worden ontleend.
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general