Skip to content

Commit

Permalink
Add missing api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Espen Volden committed Oct 28, 2015
1 parent d6fb21b commit 07356e5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<a name="ElasticsearchBulkIndexWritable"></a>
## ElasticsearchBulkIndexWritable(client, options)
A simple wrapper around Elasticsearch for bulk writing items

**Kind**: global function

| Param | Type | Default | Description |
| --- | --- | --- | --- |
| client | <code>Elasticsearch.Client</code> | | Elasticsearch client |
| options | <code>Object</code> | | Options |
| [options.highWaterMark] | <code>Number</code> | <code>16</code> | Number of items to buffer before writing. Also the size of the underlying stream buffer. |
| [options.logger] | <code>Object</code> | | Instance of a logger like bunyan or winston |

0 comments on commit 07356e5

Please sign in to comment.