‘stitching’: or just use search:search on that log collection to scroll
through the log page by page. If you have a range index on some dateTime
field, you should be able to sort it as well..



Cheers,

Geert



*Van:* [email protected] [mailto:
[email protected]] *Namens *Charles Greer
*Verzonden:* woensdag 19 december 2012 22:25
*Aan:* [email protected]
*Onderwerp:* Re: [MarkLogic Dev General] Fwd: Re: running two queries at
the same time



Hello Steve,

Geert's suggestion might avoid this issue entirely.  MarkLogic is much
better at inserting a lot of small documents than appending to a big one.
I think you'll end up with a lot less disk IO by avoiding an operation that
updates a big document lots of times.

If you need to return the whole log as one document you might provide an
endpoint that stitches together a lot of documents into one wrapper.

Hope that helps,

Charles


On 12/19/2012 07:36 AM, Steve Carton wrote:


Geert -

They are two separate .xqy files. The big one does update the log document.
The small one has an option to return log information or to return just
progress.

So I removed the option to return the log data. Now it simply returns the
contents of the server fields. But it still waits.




_______________________________________________

General mailing list

[email protected]

http://developer.marklogic.com/mailman/listinfo/general




-- 

Charles Greer

Senior Engineer

MarkLogic Corporation

[email protected]

Phone: +1 707 408 3277

www.marklogic.com



This e-mail and any accompanying attachments are confidential. The
information is intended solely for the use of the individual to whom
it is addressed. Any review, disclosure, copying, distribution, or use
of this e-mail communication by others is strictly prohibited. If you
are not the intended recipient, please notify us immediately by
returning this message to the sender and delete all copies. Thank you
for your cooperation.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to