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
database.

 

Tim Meagher

AAOM Consulting

 

  _____  

From: Pradeep Maddireddy [mailto:[email protected]] 
Sent: Tuesday, January 13, 2009 2:41 PM
To: [email protected]
Cc: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] upload document to marklogic

 

Hi Tim,

 

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?     

 

Thanks,

Pradeep Maddireddy

  _____  

From: Tim Meagher [mailto:[email protected]] 
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
alldocuments

 

Hi Pradeep,

 

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.

 

Tim Meagher

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Pradeep
Maddireddy
Sent: Tuesday, January 13, 2009 11:46 AM
To: [email protected]
Subject: [MarkLogic Dev General] search elements and attributes of
alldocuments

 

Hi..!

 

What is the best way to upload a document into Marklogic among the following

 

1.      XCC
2.      XQUERY
3.      WEBDAV

 

 

Thanks in advance.

 

Regards,

Pradeep Maddireddy

 

 

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

Reply via email to