Skip to content

Commit a693ddd

Browse files
committed
Typos
1 parent 7020a55 commit a693ddd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ var bulkExec = function(bulkCmds, callback) {
2121
}, callback);
2222
};
2323
var ws = new WritableBulk(bulkExec);
24+
25+
// stream 42 random records into ES
2426
require('random-document-stream')(42).pipe(ws);
2527
```
2628

27-
## Stream search results into Elasticsearch
29+
## Stream search results from Elasticsearch
2830
```
2931
var ReadableSearch = require('elasticsearch-streams')
3032
var client = new require('elasticsearch').Client();

test/test-write.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('When writing', function() {
3030
random(42).pipe(ws);
3131
});
3232
});
33-
it('Must have indexed a 100 docs', function(done) {
33+
it('Must have indexed 42 docs', function(done) {
3434
client.indices.refresh({ index: 'myindex2' }, function() {
3535
client.count({
3636
index: 'myindex2',

0 commit comments

Comments
 (0)