Commit Graph

6 Commits

Author SHA1 Message Date
532ded5d5c Added a note about the new client 2019-03-18 19:01:10 +01:00
c53c798899 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-15 18:09:44 +01:00
d6982d5152 Added codecov badge 2019-03-15 16:58:13 +01:00
5aa8226a4c Updated README 2019-03-14 18:32:47 +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