Commit Graph

6 Commits

Author SHA1 Message Date
184aa3817f Added a note about the new client 2019-03-19 10:34:12 +01:00
796644fc0c feat: add support for querystring in options object (#779)
In very few cases, some API uses the same key for both url and query params, such as the bulk method.
The client is not designed to handle such cases since accepts both url and query keys in the same object, and the url parameter will always take precedence.
This pr fixes this edge case by adding a `querystring` key in the options object.

Fixes: https://github.com/elastic/elasticsearch-js/pull/778

```js
client.bulk({
  index: 'index',
  type: '_doc',
  body: [...]
}, {
  querystring: {
    type: '_doc'
  }
}, console.log)
```
2019-03-19 10:34:12 +01:00
80457fb34f Added codecov badge 2019-03-15 17:49:40 +01:00
12626feb40 Updated README 2019-03-14 18:33:43 +01:00
dc27cb11ed Updated docs 2019-03-12 10:50:58 +01:00
4962e60484 Added README.md 2019-02-11 12:04:07 +01:00