That pretty much answers all my questions. thx!

--- On Thu, 6/25/09, [email protected] 
<[email protected]> wrote:

From: [email protected] 
<[email protected]>
Subject: General Digest, Vol 60, Issue 38
To: [email protected]
Date: Thursday, June 25, 2009, 11:27 PM

Send General mailing list submissions to
    [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
    http://xqzone.com/mailman/listinfo/general
or, via email, send a message with subject or body 'help' to
    [email protected]

You can reach the person managing the list at
    [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of General digest..."


Today's Topics:

   1. copy data from one database in one cluster to another
      database in another cluster (Chetan Patel)
   2. RE: copy data from one database in one    cluster to another
      database in another cluster (Danny Sokolsky)
   3. Re: xqsync (Michael Blakeley)
   4. how to debug? (Jakob Fix)
   5. MarkLogic Server 4.1 and MarkLogic    Application Services 1.0
      release (Justin Makeig)


----------------------------------------------------------------------

Message: 1
Date: Thu, 25 Jun 2009 16:47:21 -0400
From: Chetan Patel <[email protected]>
Subject: [MarkLogic Dev General] copy data from one database in one
    cluster to another database in another cluster
To: <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"


What is the best way to copy data from one database in one cluster to another 
database in another cluster? We are trying to use content processing framework 
and trying to do it through xquery. Please let me know if this is possible or 
not.

_________________________________________________________________
Windows Live™ SkyDrive™: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://xqzone.marklogic.com/pipermail/general/attachments/20090625/778fe3b0/attachment-0001.html

------------------------------

Message: 2
Date: Thu, 25 Jun 2009 13:56:59 -0700
From: Danny Sokolsky <[email protected]>
Subject: RE: [MarkLogic Dev General] copy data from one database in
    one    cluster to another database in another cluster
To: General Mark Logic Developer Discussion
    <[email protected]>
Message-ID:
    <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Try the Developer workshop project xqsync:

http://developer.marklogic.com/code/#xqsync

-Danny

From: [email protected] 
[mailto:[email protected]] On Behalf Of Chetan Patel
Sent: Thursday, June 25, 2009 1:47 PM
To: [email protected]
Subject: [MarkLogic Dev General] copy data from one database in one cluster to 
another database in another cluster

What is the best way to copy data from one database in one cluster to another 
database in another cluster? We are trying to use content processing framework 
and trying to do it through xquery. Please let me know if this is possible or 
not.
________________________________
Windows Live(tm) SkyDrive(tm): Get 25 GB of free online storage. Get it on your 
BlackBerry or 
iPhone.<http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://xqzone.marklogic.com/pipermail/general/attachments/20090625/599d3fa0/attachment-0001.html

------------------------------

Message: 3
Date: Thu, 25 Jun 2009 14:02:11 -0700
From: Michael Blakeley <[email protected]>
Subject: Re: [MarkLogic Dev General] xqsync
To: General Mark Logic Developer Discussion
    <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed

Paul,

I suspect that I don't understand the thrust of your questions. It might 
help if you describe the task that you'd like to accomplish.

You can certainly use cq to assign permissions to documents. The 
security model doesn't assign roles to documents, though. Documents have 
permissions, which are the combination of a role and a capability. See 
http://developer.marklogic.com/pubs/4.0/apidocs/Security.html#xdmp:permission 
for the constructor function.

You can also use xqsync to copy documents, including their permissions. 
When copying permissions, xqsync uses role names (not ids). But I'm not 
sure why you'd ever choose between cq and xqsync for a particular task. 
Perhaps you could go into more detail?

URI privileges are stored in the security database, as are exec 
privileges, roles, and users. None of these are copied by xqsync. It 
would be possible to use xqsync to export your Security database, but 
importing would be somewhat tricky.

I'm not sure what auto directory create has to do with any of this: it's 
only useful in combination with webdav. If directory-creation=manual, 
xqsync will still store documents by URI (even if they contain 
forward-slashes), and xdmp:directory() will still work. If 
directory-creation=manual-enforced, then xqsync will throw errors if a 
document URI implies the existence of a directory that does not yet exist.

thanks,
-- Mike

On 2009-06-25 10:55, Paul M wrote:
> Any problems with just using cq to assigning the roles and permission to docs 
> without using xqsync for this task.
>
> If the role names ARE the same between two different systems (SECURITY 
> DATABASE the same), XQSYNC should be able to load the docs into a new 
> database with the appropriate permissions? Even different revs (however both 
> are 3..2)...
>
> What about uri privileges? If I have auto directory create on?



------------------------------

Message: 4
Date: Fri, 26 Jun 2009 01:30:14 +0200
From: Jakob Fix <[email protected]>
Subject: [MarkLogic Dev General] how to debug?
To: General Mark Logic Developer Discussion
    <[email protected]>
Message-ID:
    <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

Well, some of you may have gathered that there's a newbie in the
building, based on my recent questions.

As stuff gets more complex (modules, etc.), cq seems to hit its limits
(or is it me?). I therefore hoped that OxygenXML would let me debug
easily, but there as well the debugger cannot find a module that is
referenced like this in the main module:

import module namespace utils = "http://myorg.org/utils"; at "./functions.xqy";

How and using which tools do you develop Xquery apps for Mark Logic?

Thanks,
Jakob.


------------------------------

Message: 5
Date: Thu, 25 Jun 2009 23:46:38 -0700
From: Justin Makeig <[email protected]>
Subject: [MarkLogic Dev General] MarkLogic Server 4.1 and MarkLogic
    Application Services 1.0 release
To: General Mark Logic Developer Discussion
    <[email protected]>
Message-ID:
    <[email protected]>
Content-Type: text/plain; charset="utf-8"

I’m pleased to announce the general availability of MarkLogic Server 
4.1-1<http://marklogic.com/product/marklogic-server.html> and the included 
MarkLogic Application Services 1.0.



MarkLogic Application Services is a new product built on top of MarkLogic 
Server 4.1 that lets you design, develop, and deploy rich information-centric 
applications quickly and easily. This release of Application Services features



·         Application Builder A visual tool that allows you to build full 
featured search applications from your browser without writing any code.

·         Search API A high-level XQuery API for search applications that 
allows you to do more with less code. It simplifies query parsing, analytics 
and navigation with facets, result “snippetting�, fast pagination and 
sorting, and type-ahead search suggestions.

·         Library Services API An XQuery API for building applications to 
control and manage documents. It features the ability to check out content for 
exclusive editing, automatically version documents as they change, and it 
allows developers work with snapshots of versions for search, delivery, and 
compliance.



This significant new release of MarkLogic Server features



·         Expanded REST capabilities, such as URL re-writing and JSON support

·         Support for secure communication over SSL

·         Full support for W3C XML Schema validation using the XQuery validate 
expression

·         Advanced language support for Japanese content



as well as a host of other enhancements.



For more information or to download MarkLogic Server 4.1-1, please consult the 
Developer Network<http://developer.marklogic.com/pubs/4.1/books/relnotes.pdf>. 
Information about upgrading from previous versions and obtaining a free trial 
license can be found in the product 
documentation<http://developer.marklogic.com/pubs/4.1/books/relnotes.pdf>.



Thank you for your continued participation in the MarkLogic developer 
community. Please let me know if you have any questions or concerns.



Justin


Justin Makeig
Product Manager
Mark Logic Corporation
999 Skyway Road
Suite 200
San Carlos, CA 94070
+1 650 655 2387 Phone
[email protected]<mailto:[email protected]>
www.marklogic.com<http://www.marklogic.com> 
<http://www.marklogic.com/><http://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.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://xqzone.marklogic.com/pipermail/general/attachments/20090625/9041300a/attachment.html

------------------------------

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general


End of General Digest, Vol 60, Issue 38
***************************************



      
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to