ca457acb5a
[6.x] [DOCS] Includes source_branch in docs index
2023-02-22 08:15:38 -06:00
fb1c08010a
Fix docs URLs to use '6.8' instead of 'master'
2022-09-27 15:56:26 -05:00
dc8a30be00
[DOCS] Fixes broken link to 7.x documentation ( #1578 )
2021-10-20 19:56:16 -04:00
5e26ff1a9b
Update authentication.asciidoc ( #1573 )
2021-10-20 18:07:57 -04:00
f58d520883
Update configuration.asciidoc ( #1574 )
2021-10-20 18:07:39 -04:00
d84cb382f7
Updated Connections handling ( #1127 )
...
* Updated Connections handling
- The ConnectionPool.getConnection method now always returns a connection
- The ConnectionPool.update mehtod now cleans the dead list
- Deprecated the NoLivingConnectionsError
* Updated test
* Updated docs
* The NoLivingConnectionsError can still happen if the filter/selector returns no nodes
* Updated test
* Updated docs
* Catch undefined connections as well
* Updated test
* Updated ApiError type def
2020-07-30 08:29:59 +02:00
852ffcafb7
Fix API example usage ( #1234 )
2020-06-26 12:04:39 +02:00
c386190c93
[Backport 6.x] ApiKey should take precedence over basic auth ( #1116 )
...
* ApiKey should take precedence over basic auth
* Updated docs
* Updated test
Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com >
2020-03-13 13:41:47 +01:00
0c823a2893
Merge branch '6.x' of https://github.com/elastic/elasticsearch-js into 6.x
2019-12-19 13:37:54 +01:00
9afca3dc8e
Return super in example Transport subclass ( #980 )
...
If called without a callback, the request method returns a Promise, so
when calling into super.request, the result should be returned to
maintain promise behavior.
2019-12-19 13:37:50 +01:00
f8aa163f87
[DOCS] Added older release notice. ( #1019 )
2019-12-09 16:07:19 -08:00
df76154388
X-Opaque-Id support ( #997 )
...
* Added X-Opaque-Id support
* Updated type definitions
* Updated test
* Updated docs
2019-12-03 14:33:33 +01:00
09c2ff8bf3
Fix inaccurate description sniffEndpoint ( #959 )
2019-09-16 17:43:46 +02:00
6194119e62
Updated error handling in bulk example ( #927 )
2019-08-01 12:21:06 +02:00
90be646658
API generation
2019-07-25 11:16:17 +02:00
af8bef4892
Better reference code examples ( #920 )
...
* Updated documentation genertation script to build small code snippets
* Updated docs reference
* Removed slm doc
* Add commas and remove empty objects
2019-07-25 11:14:35 +02:00
708f9abe3e
Improve authentication handling ( #908 )
2019-07-18 10:33:51 +02:00
126c277496
Fix typo in comments ( #912 )
2019-07-17 17:05:28 +02:00
23341d5f2a
Improve README ( #909 )
...
* Updated README
* Updated asciidoc intro
* Updated intro title
* Update README.md
Co-Authored-By: Lisa Cawley <lcawley@elastic.co >
* Update README.md
Co-Authored-By: Lisa Cawley <lcawley@elastic.co >
* Update README.md
Co-Authored-By: Lisa Cawley <lcawley@elastic.co >
* Update README.md
Co-Authored-By: Lisa Cawley <lcawley@elastic.co >
* Update README.md
Co-Authored-By: Lisa Cawley <lcawley@elastic.co >
* Update docs/introduction.asciidoc
Co-Authored-By: Lisa Cawley <lcawley@elastic.co >
* Update docs/introduction.asciidoc
Co-Authored-By: Lisa Cawley <lcawley@elastic.co >
* Updated asciidoc intro
2019-07-17 10:30:27 +02:00
456fc19c94
Added cloud configuration example ( #880 )
...
* Added cloud configuration example
* Used cloud example from auth docs and added link
2019-06-14 10:13:47 +02:00
4c118b9f9a
[DOCS] Fixes typo ( #877 )
2019-06-12 08:42:12 +02:00
dc5c041b07
Docs: added missing configuration options ( #870 )
2019-06-03 12:29:12 +02:00
30c3afe150
API generation
2019-05-16 16:54:53 -04:00
0efa0df934
Patch deprecated parameters ( #851 )
...
* Updated code generation
* API generation
* API generation
* Updated code generation
2019-05-16 16:54:27 -04:00
b2fbcfd8e2
missing comma ( #854 )
2019-05-16 09:39:51 -04:00
14fc908d4b
Improve observability ( #834 )
...
* API generation
* Added correlation id support
* Updated docs
* Updated test
* Updated code generation
* API generation
* Updated code generation
* Added support for client name and custom context object
* Updated docs
* Updated test
* Fix docs
* Updated docs
* Added id support also for sniffing
* Updated test
* Update docs/observability.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Update docs/observability.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Apply suggestions
* Update docs/configuration.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Update docs/configuration.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Update docs/observability.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Update docs/observability.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Update docs/observability.asciidoc
Co-Authored-By: delvedor <delvedor@users.noreply.github.com >
* Apply suggestions
* Updated README.md
* Fixed test
* Addressed suggestions
2019-05-03 17:26:40 +02:00
962e26f791
Updated installation instructions ( #835 )
...
* Updated installation instructions
* Added a note about Elasticsearch master
2019-05-03 17:26:33 +02:00
24da41e994
Drop Node.js v6 support ( #818 )
...
Node.js v6 will go EOL at the end of April 2019, and already two of the production dependencies of the client have already dropped support for it, and soon others will do *(as well as development dependencies)*.
Furthermore, since Node.js will go in EOL it will never get security patches, plus, also OpenSSL-1.0.2 will go EOL [this year](https://github.com/nodejs/Release#release-schedule ); to avoid risks for the client users it is better to drop support for Node.js v6 right away.
2019-04-17 11:25:06 +02:00
662e4d5ca7
Fix a typo in usage example ( #806 )
2019-04-11 16:38:16 +02:00
1afa23b11d
API generation
2019-04-10 11:45:50 +02:00
48c6ad15a6
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:44:47 +02:00
48233503f7
Custom http agent support ( #810 )
2019-04-10 11:44:33 +02:00
01ab682fb7
Handle bulk errors in examples
2019-04-01 09:09:10 +02:00
b11e7ffc9f
Generated reference
2019-03-29 18:09:00 +01:00
352a2c3652
Docs: Set the stack version to 6.7
2019-03-29 11:23:53 -04:00
5ce9f55481
Generated reference
2019-03-29 15:47:32 +01:00
baac03846e
Update asciidoc config
2019-03-29 15:42:24 +01:00
41050f23f5
Generated reference
2019-03-29 08:52:44 +01:00
2daa6d35c6
Docs: Fix the API reference ( #799 )
2019-03-29 08:52:18 +01:00
45744762d3
Fix docs ( #796 )
...
Follow up of https://github.com/elastic/docs/pull/701 .
2019-03-28 17:36:52 +01:00
8f131d5a6d
API generation
2019-03-27 07:50:42 +01:00
81e09a71c2
Regenerate doc
2019-03-27 07:47:03 +01:00
41fa164611
Doc updates ( #791 )
...
Updates for better displaying the documentation in the website.
2019-03-27 07:46:03 +01:00
d5256e2fc1
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:55:35 +01:00
0b739ea23c
regenerated typings and reference
2019-03-13 16:11:14 +01:00
3396b5d818
Updated docs
2019-03-12 12:04:13 +01:00
dc27cb11ed
Updated docs
2019-03-12 10:50:58 +01:00
6eb4f874cc
Updated docs
2019-03-11 18:37:29 +01:00
45c31df5c1
Updated docs
2019-03-11 17:15:39 +01:00
945fe1f605
Updated docs
2019-02-28 10:57:59 +01:00