There was an error while loading. Please reload this page.
1 parent 2623912 commit 547c61bCopy full SHA for 547c61b
config-sample.js
@@ -0,0 +1,23 @@
1
+//Stuff that will have consequences
2
+
3
+module.exports = Object.freeze({
4
+//Source client: from where the documents are to be fetched
5
+"source": {
6
+"host": "localhost",
7
8
+"index": "my_source_index",
9
+"type": "_doc"
10
+},
11
12
+//Target client: where documents are to be transferred to
13
+//If 'host' field is present, it'll be assumed the target is an elasticsearch server
14
+"target": {
15
+"index": "my_target_index",
16
+"type": "_doc",
17
18
+"filePath": "data.json",
19
20
+"host": "localhost:9200",
21
+"importMappingFromSource": true
22
+}
23
+})
0 commit comments