Thanks for your suggestion Dave. 
Huge set of documents meaning, the number of documents returned by the query 
would be huge. 

For example, we would like to run an xquery to get a set of asset metadata from 
MarkLogic based on certain parameters and the number of documents returned may 
be around 1000.

I tried XQSync, and it works for us. 

Please let us know if there are any better solutions. 

Thanks
Joel Wilson G


> On Oct 24, 2014, at 5:06 AM, Dave Cassel <[email protected]> wrote:
> 
> Is it a huge set of documents, or a small set of huge documents? If the 
> latter, the simplest thing might be using the REST API. Set up a REST API app 
> server, then look at the fourth example here 
> <http://docs.marklogic.com/REST/GET/v1/documents> to retrieve the set of 
> documents through curl. 
> 
> -- 
> Dave Cassel
> Developer Community Manager
> MarkLogic Corporation <http://www.marklogic.com/>
> Cell:  +1-484-798-8720
> 
> 
> From: Joel Wilson Gunasekaran <[email protected] 
> <mailto:[email protected]>>
> Reply-To: MarkLogic Developer Discussion <[email protected] 
> <mailto:[email protected]>>
> Date: Thursday, October 23, 2014 at 2:42 PM
> To: "[email protected] 
> <mailto:[email protected]>" <[email protected] 
> <mailto:[email protected]>>
> Subject: [MarkLogic Dev General] MLCP - document_selector option
> 
>> Hi, 
>> 
>> We have a requirement, where we would like to export a few xml documents to 
>> do some analysis. 
>> Running a query in qconsole to retrieve the documents isn’t working for 
>> cases where the output of the query is huge, so we are exploring other 
>> options.
>> 
>> MLCP has an option to export content, and there is a document_selector 
>> filter(http://docs.marklogic.com/guide/ingestion/content-pump#id_89322 
>> <http://docs.marklogic.com/guide/ingestion/content-pump#id_89322>), but I 
>> couldn’t find any examples of this option in the documentation or in the 
>> internet. 
>> 
>> Have you used this option? If so can you please provide an example?
>> 
>> Also, let me know if there are other options where you can run a simple 
>> xquery to extract huge sets of documents from MarkLogic.
>> 
>> Thanks
>> Joel Wilson G
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

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

Reply via email to