RE: [MarkLogic Dev General] Hot Swapping large data sets.

2010-03-18 Thread Keith L. Breinholt
Another way to allow you to load and update sets and then only make them visible when you are done is to load the content with a unique URI privilege that is assigned to your loader/enricher program. Then when you are done and the content is ready you can add that privilege to the role of any

RE: [MarkLogic Dev General] Hot Swapping large data sets.

2010-03-18 Thread Danny Sokolsky
The URI privilege does not control access to the document, it specifies whether you can create a document in that URI space. You can do what Keith suggests by putting a read permission on each document that is associated with a role. Then, when you are ready, grant that role to a role your

RE: [MarkLogic Dev General] Need dls:document-update-version-file($uri, $node, $version) function

2010-03-18 Thread Keith L. Breinholt
It was the changes to permissions of managed documents that prompted the request for a function to update the version file directly. Thanks for the suggestion to skip the call to dls:document-manage on empty create. However, Waiting for a timed process to run is not good for the user

RE: [MarkLogic Dev General] Hot Swapping large data sets.

2010-03-18 Thread Keith L. Breinholt
Thanks for correcting me Danny. (I need more sleep.) Keith L. Breinholt breinhol...@ldschurch.orgmailto:breinhol...@ldschurch.org From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sokolsky Sent: Thursday, March 18, 2010 10:48 AM

[MarkLogic Dev General] RE: Unfiltered ok, but what of fragment loading

2010-03-18 Thread Kelly Stirman
If you want to get only the authors and their values, you should take a look at cts:element-values() or cts:element-attribute-values(). This will require creating a range index on the node where your authors are stored, but it will eliminate the need to pull all documents into memory. You can

Re: [MarkLogic Dev General] Hot Swapping large data sets.

2010-03-18 Thread Jason Hunter
For a single batch load, I like that, but if you do repeated loads you'll have to be creating new roles for every batch to distinguish the new content from the old. It seems mentally cheaper/lighter to me to use collections. My 2c. -jh- On Mar 18, 2010, at 9:47 AM, Danny Sokolsky wrote:

Re: [MarkLogic Dev General] Unfiltered ok, but what of fragment loading

2010-03-18 Thread Jason Hunter
i.e. Even if a search can be performed without pagination, this does not save one from blowing out the caches when the data is retrieved from the docs? Pagination may still be required? Others have answered how you can use range indexes to pull the data from documents without fetching the

[MarkLogic Dev General] Re: Unfiltered ok, but what of fragment loading (Jason Hunter)

2010-03-18 Thread Paul M
.   ___ General mailing list General@developer.marklogic.com http://xqzone.com/mailman/listinfo/general -- next part -- An HTML attachment was scrubbed... URL: http://xqzone.marklogic.com/pipermail/general/attachments/20100318/566bd15c/attachment-0001

[MarkLogic Dev General] How to handle custom named entities in zipped xml?

2010-03-18 Thread Geert Josten
Hi, To my knowledge custom named entities in xml files are resolved by MarkLogic Server as long as there is a doctype pointing to a dtd defining those entities and which is accessible from MarkLogic Server (not sure where it starts looking first though). But what happens if these xml files are

RE: [MarkLogic Dev General] How to handle custom named entities inzipped xml?

2010-03-18 Thread Lee, David
What tool are you using to load zipped XML files ? -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert Josten Sent: Thursday, March 18, 2010 4:13 PM To: General Mark Logic Developer Discussion Subject:

RE: [MarkLogic Dev General] How to handle custom named entities inzipped xml?

2010-03-18 Thread Geert Josten
Just MarkLogic Server, reading them straight from file-system with xdmp functions at the moment.. Geert -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Lee, David Sent: donderdag 18 maart 2010 21:21

RE: [MarkLogic Dev General] How to handle custom named entitiesinzipped xml?

2010-03-18 Thread Lee, David
cool, I must have missed the zip support. -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert Josten Sent: Thursday, March 18, 2010 4:32 PM To: General Mark Logic Developer Discussion Subject: RE: [MarkLogic

RE: [MarkLogic Dev General] How to handle custom named entitiesinzipped xml?

2010-03-18 Thread Geert Josten
Just to clarify: I could do the unzipping and parsing outside MarkLogic Server, but I am interested to know how far I can get with just the XQuery extensions.. Similar case: what if you have an HTTP appserver intended to receive XML as body of the request, and it happens to contain a dtd

Re: [MarkLogic Dev General] Re: Unfiltered ok, but what of fragment loading (Jason Hunter)

2010-03-18 Thread Jason Hunter
/listinfo/general -- next part -- An HTML attachment was scrubbed... URL: http://xqzone.marklogic.com/pipermail/general/attachments/20100318/566bd15c/attachment-0001.html -- Message: 3 Date: Thu, 18 Mar 2010 11:14:05 -0700 From: Jason Hunter

RE: [MarkLogic Dev General] How to handle custom namedentitiesinzipped xml?

2010-03-18 Thread Lee, David
My totally uneducated *guess* is the DTD's will have to pre-exist in the schemas database. -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Geert Josten Sent: Thursday, March 18, 2010 5:08 PM To: General Mark

[MarkLogic Dev General] User's Conference '10 - Call for BOF topics

2010-03-18 Thread Eric Bloch
Hey Folks, We're collecting ideas for BOFhttp://en.wikipedia.org/wiki/Birds_of_a_Feather_(computing) (birds-of-a-feather) topics for our upcoming conference in May. For those unfamiliar with BOFs, * A BOF is an informal meet-up where the attendees group together based on a shared