Classification: For internal use only
If it helps...

I used below to successfully load in a directory of gzipped JSON files in 
windows environment:

mlcp.bat import -host localhost -port 8012 -username admin -password iSwap123 
-input_file_path 
C:\share\Marklogic\JSON\FlowRisk\AllInstances\instances-20151126-400\ 
-output_uri_replace "C:/share/Marklogic/JSON/FlowRisk/AllInstances/,''" 
-output_uri_prefix /datasources -input_compressed true -input_compression_codec 
gzip

to convert URI from windows path to

/datasources/instances-20151126-400



Regards

Richard Manthorpe

From: [email protected] 
[mailto:[email protected]] On Behalf Of Sindiya, Carmeen 
(LNG-CON)
Sent: 23 December 2015 09:01
To: [email protected]
Subject: [MarkLogic Dev General] MLCP queries

Hi,

I am very new to MarkLogic and MLCP and learning to load document using the 
MarkLogic community. But below are some queries which I need to sort out. The 
answers will be very informative to understand MLCP better.


1.       I running the MLCP command with mode as 'local'. Is it possible to 
have the input_file_path as AWS fileshare?

2.       Is it possible to retrieve the collection name from the uri of the 
document.

For eg., For a URI with //a/b/c/d/e.xml , I need the collection value as c & d

3.       While loading documents, for a given input file path, it loads all the 
documents under the folder including its subdirectories by default. How to 
exclude the files in the subdirectory?

4.       Is there an option to pass multiple values for filtering file formats.

Thanks,
Carmeen

________________________________

LexisNexis is a trading name of REED ELSEVIER (UK) LIMITED - Registered office 
- 1-3 STRAND, LONDON WC2N 5JR
Registered in England - Company No. 02746621


---
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly forbidden.

Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional 
EU corporate and regulatory disclosures and to 
http://www.db.com/unitedkingdom/content/privacy.htm for information about 
privacy.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to