File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,27 +36,27 @@ async function run () {
36
36
id: 1,
37
37
text: 'If I fall, don\'t bring me back.',
38
38
user: 'jon',
39
- date : new Date()
39
+ time : new Date()
40
40
}, {
41
41
id: 2,
42
42
text: 'Winter is coming',
43
43
user: 'ned',
44
- date : new Date()
44
+ time : new Date()
45
45
}, {
46
46
id: 3,
47
47
text: 'A Lannister always pays his debts.',
48
48
user: 'tyrion',
49
- date : new Date()
49
+ time : new Date()
50
50
}, {
51
51
id: 4,
52
52
text: 'I am the blood of the dragon.',
53
53
user: 'daenerys',
54
- date : new Date()
54
+ time : new Date()
55
55
}, {
56
56
id: 5, // change this value to a string to see the bulk response with errors
57
57
text: 'A girl is Arya Stark of Winterfell. And I\'m going home.',
58
58
user: 'arya',
59
- date : new Date()
59
+ time : new Date()
60
60
}]
61
61
62
62
const operations = dataset.flatMap(doc => [{ index: { _index: 'tweets' } }, doc])
You can’t perform that action at this time.
0 commit comments