[MarkLogic Dev General] upload document to marklogic
tim at aaom.net
Tue Jan 13 12:03:40 PST 2009
I think the basic problem that you're dealing with is that the file and
subsequent XML document records are going to be too large for the database
and that you will need to break up the document into smaller records. I
believe the recordloader can be used to do this without any additional
coding (I don't have any examples), or you can break up the document
yourself into smaller records before loading the fragments into the
From: Pradeep Maddireddy [mailto:Pradeep.Maddireddy at HTCinc.com]
Sent: Tuesday, January 13, 2009 2:41 PM
To: tim at aaom.net
Cc: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] upload document to marklogic
In my case marklogic will be on a server not on local pc and I need to
upload a document into marklogic. So in my case Xquery modules run on the
server, the Xquery function XDMP:document-load takes URI of the documents as
a parameter but it expects the document to be available on the server not
the local pc. To overcome this problem I opted for XCC but I am not sure if
it will be able to handle large files of size 500 Mb to 1Gb?
From: Tim Meagher [mailto:tim at aaom.net]
Sent: Tuesday, January 13, 2009 12:08 PM
To: Pradeep Maddireddy; 'General Mark Logic Developer Discussion'
Subject: RE: [MarkLogic Dev General] search elements and attributes of
I think that depends on your application and how the end users will be using
the system. If you create a document with xquery and you know where it
needs to go then use xquery. If you build an application using the XCC with
a front-end, then you have a choice of using the appropriate API or any
xquery modules and pipelines that process any input data. If your end user
can reliably handle moving documents within webDAV and you can control user
access, then that may be the simplest approach.
From: general-bounces at developer.marklogic.com
[mailto:general-bounces at developer.marklogic.com] On Behalf Of Pradeep
Sent: Tuesday, January 13, 2009 11:46 AM
To: general at developer.marklogic.com
Subject: [MarkLogic Dev General] search elements and attributes of
What is the best way to upload a document into Marklogic among the following
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General