Hi Dave,
You *can* use the zip built-in functions to compress your output
on-the-fly if you want to. Here is an example:
xquery version "1.0-ml";
let $x := <test1>put anything here</test1>
let $y := <test2>anything here</test2>
return
xdmp:zip-create(<parts xmlns="xdmp:zip">
<part>test1.xml</part>
<part>test2.xml</part>
</parts>, ($x, $y))
This will send the output in zip format, where $x will be in test1.xml
and $y in test2.xml.
-Danny
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Dave
Feldmeier
Sent: Sunday, January 25, 2009 12:00 PM
To: [email protected]
Subject: [MarkLogic Dev General] Faster results retrieval with
compression?
I have a server (running software using Microsoft .NET) that accesses a
second server with a MarkLogic database via HTTP. I'm looking for a way
to improve the speed at which batches of XML documents returned by a
query can be retrieved. One thing that I'm considering is sending the
results in compressed form. However, the "zip" commands available in
XQuery don't seem to be the right thing for doing on-the-fly compression
of results. Does anyone else return compressed results? Is there some
other way of doing what I want to do? Thanks.
-Dave
David Feldmeier
Twin Dolphin Software, Inc.
303 Twin Dolphin Drive, Suite 600
Redwood City, CA 94065
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general