* Updated examples urls
* Added links to examples
* Updated docs generation script to include code examples
* Fixes
* Skip index api
* Fix link
* Fix url generation
* API generation
* Fix new line
* API generation
* Fix leftover
* API generation
* API generation
* X-Opaque-Id support (#997)
* Added X-Opaque-Id support
* Updated type definitions
* Updated test
* Updated docs
* Skip data_frame_transform_deprecated.* apis
* API generation
* Fix docs link
* Fix CI configuration
* Added enrich_user to default roles
* Added transform_admin ad transform_user to default roles
* Update code generation (#969)
* Updated code generation scripts to use the new spec
* API generation
* Fix bad link
* Updated API reference doc (#945)
* Updated API reference doc
* Updated docs script
* Fix issue; node roles are defaulting to true when undefined (fal… (#967)
* Fix issue; nodeFilter was unable to filter because master, data, and ingest role were true if even they were false on the node.
* Test nodesToHost of BaseConnectionPool correctly maps node roles
* API generation
* Docker: use 7.4-SNAPSHOT
* API generation
* Use 7.4 stable
* CI: Added junit plugin
* Updated .gitignore
* Added integration test reporter
* Updated integration testing suite
* Updated ci config
* Updated report file path
* Use refresh 'true' instead of 'wait_for'
* Disable junit reporting
* Refresh one single time
* Update security index name
* Updated skip test handling and use class syntax
* Updated test script
* Disable test timeout
* Added command to automatically remove an old snapshot
* Disable timeout in integration test script
* Updated logs and cleaned up git handling
* Fixed shouldSkip utility
* Updated cleanup code
* Updated cleanup code pt 2
* Rename Platinum to XPack
The ingest docs in Elasticsearch doing point to the actual ingest APIs.
This makes up generate links to the real APIs instead, fixing some
broken links in the 5.x docs in the process.
Handles a few "special" doc urls from ES's api spec files. These are
only a problem in 6.x but we'd like to keep the generateDocs script the
same across all branches for easier backporting.
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)
```
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)
```
* Updated dependencies
* Updated .gitignore
* WIP: macro and micro benchmarks
* Updated benchmark suite
* Use the same suite for both macro and micro benchmarks
* WIP: benchmark report
* Updated benchmark suite
* Updated docker scripts
* Updated benchmark suite
* Updated scripts
* Updated benchmark suite
* Added split2