a4093a7338
[Backport 7.x] Added timeout support in bulk and msearch helpers ( #1211 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-06-03 10:34:57 +02:00
57fbbd0a8f
[Backport 7.x] Add multi search helper ( #1202 )
...
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-05-25 17:19:44 +02:00
51169d5efa
Support for Elasticsearch 7.7 ( #1192 )
2020-05-14 09:55:54 +02:00
8c78f47ac3
Support for Elasticsearch 7.3 ( #928 )
2019-08-01 10:09:16 +02:00
2ceb04697b
Fix typo in comments ( #912 )
2019-07-17 17:05:16 +02:00
0918df8e7d
Updated type definitions ( #882 )
...
* Updated type definitions
* Updated test
2019-06-19 09:15:31 +02:00
6f2767628c
Fix 841 ( #842 )
...
* Added errors to exported members
* Updated test
2019-05-09 14:57:33 +02:00
29beb44bf5
Improve typings ( #813 )
...
The ApiResponse now accepts a generics that defaults to any, same for every API method that might need a body.
2019-04-10 11:43:14 +02:00
68c4dd29fb
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 09:53:43 +01:00
c990ed43d4
Updated test
2019-03-11 17:12:53 +01:00
cae38e6b2b
License ( #773 )
...
- Added license header
- Added license checker
- Fixed tap
2019-03-08 07:47:24 +01:00
a8f861c4d4
Updated test
2019-02-19 09:34:14 +01:00
a86a552a85
Updated test
2018-12-12 16:53:51 +01:00
230b08ab86
Updated test
2018-12-10 20:15:42 +01:00
3b737f8e2b
Updated test
2018-12-05 22:18:41 +01:00
4b2df7504e
Updated test
2018-12-04 14:30:28 +01:00
ab1d7ba992
Typings support ( #737 )
...
* Updated scripts
* Updated .gitignore
* Removed symbols
* Fixed typo
* Added typings
* Updated test
* Added typings test
2018-11-30 17:01:55 +01:00