Skip to content

Instantly share code, notes, and snippets.

@derms
Created March 26, 2019 12:47
Show Gist options
  • Save derms/271153d9cb06be567ed44145d3ce5e5f to your computer and use it in GitHub Desktop.
Save derms/271153d9cb06be567ed44145d3ce5e5f to your computer and use it in GitHub Desktop.
mlcp
import
-host
localhost
-port
9000
-username
admin
-password
admin
-input_file_path
GlobalLandTemperaturesByCity.csv
-input_file_type
delimited_text
-delimiter
,
-generate_uri
true
-document_type
JSON
-output_permissions
"rest-reader,read,rest-writer,update"
-output_collections
"input"
-output_uri_replace
".*GlobalLandTemperaturesByCity.csv,'city'"
-output_uri_prefix
/temps/
-output_uri_suffix
.json
-thread_count
6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment