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 () {
3636 id: 1,
3737 text: 'If I fall, don\'t bring me back.',
3838 user: 'jon',
39- date : new Date()
39+ time : new Date()
4040 }, {
4141 id: 2,
4242 text: 'Winter is coming',
4343 user: 'ned',
44- date : new Date()
44+ time : new Date()
4545 }, {
4646 id: 3,
4747 text: 'A Lannister always pays his debts.',
4848 user: 'tyrion',
49- date : new Date()
49+ time : new Date()
5050 }, {
5151 id: 4,
5252 text: 'I am the blood of the dragon.',
5353 user: 'daenerys',
54- date : new Date()
54+ time : new Date()
5555 }, {
5656 id: 5, // change this value to a string to see the bulk response with errors
5757 text: 'A girl is Arya Stark of Winterfell. And I\'m going home.',
5858 user: 'arya',
59- date : new Date()
59+ time : new Date()
6060 }]
6161
6262 const operations = dataset.flatMap(doc => [{ index: { _index: 'tweets' } }, doc])
You can’t perform that action at this time.
0 commit comments