Skip to content

Commit d2c63b4

Browse files
authored
bump 9.0.0 alpha.3 (#2591)
1 parent 0ad42ff commit d2c63b4

8 files changed

+32
-32
lines changed

docs/examples/bulk.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[[bulk_examples]]
22
=== Bulk
33

4-
With the {jsclient}/api-reference.html#_bulk[`bulk` API], you can perform multiple index/delete operations in a
4+
With the {jsclient}/api-reference.html#_bulk[`bulk` API], you can perform multiple index/delete operations in a
55
single API call. The `bulk` API significantly increases indexing speed.
66

7-
NOTE: You can also use the {jsclient}/client-helpers.html[bulk helper].
7+
NOTE: You can also use the <<bulk-helper,bulk helper>>.
88

99
[source,js]
1010
----

docs/examples/exists.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Check that the document `/game-of-thrones/1` exists.
66
NOTE: Since this API uses the `HEAD` method, the body value will be boolean.
77

88
[source,js]
9-
---------
9+
----
1010
'use strict'
1111
1212
const { Client } = require('@elastic/elasticsearch')
@@ -34,4 +34,4 @@ async function run () {
3434
}
3535
3636
run().catch(console.log)
37-
---------
37+
----

docs/examples/get.asciidoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[[get_examples]]
22
=== Get
33

4-
The get API allows to get a typed JSON document from the index based on its id.
5-
The following example gets a JSON document from an index called
4+
The get API allows to get a typed JSON document from the index based on its id.
5+
The following example gets a JSON document from an index called
66
`game-of-thrones`, under a type called `_doc`, with id valued `'1'`.
77

88
[source,js]
9-
---------
9+
----
1010
'use strict'
1111
1212
const { Client } = require('@elastic/elasticsearch')
@@ -34,4 +34,4 @@ async function run () {
3434
}
3535
3636
run().catch(console.log)
37-
---------
37+
----

docs/examples/ignore.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ async function run () {
6262
}
6363
6464
run().catch(console.log)
65-
----
65+
----

docs/examples/scroll.asciidoc

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
[[scroll_examples]]
22
=== Scroll
33

4-
While a search request returns a single “page” of results, the scroll API can be
5-
used to retrieve large numbers of results (or even all results) from a single
6-
search request, in much the same way as you would use a cursor on a traditional
4+
While a search request returns a single “page” of results, the scroll API can be
5+
used to retrieve large numbers of results (or even all results) from a single
6+
search request, in much the same way as you would use a cursor on a traditional
77
database.
88

9-
Scrolling is not intended for real time user requests, but rather for processing
10-
large amounts of data, for example in order to reindex the contents of one index
9+
Scrolling is not intended for real time user requests, but rather for processing
10+
large amounts of data, for example in order to reindex the contents of one index
1111
into a new index with a different configuration.
1212

13-
NOTE: The results that are returned from a scroll request reflect the state of
14-
the index at the time that the initial search request was made, like a snapshot
15-
in time. Subsequent changes to documents (index, update or delete) will only
13+
NOTE: The results that are returned from a scroll request reflect the state of
14+
the index at the time that the initial search request was made, like a snapshot
15+
in time. Subsequent changes to documents (index, update or delete) will only
1616
affect later search requests.
1717

18-
In order to use scrolling, the initial search request should specify the scroll
19-
parameter in the query string, which tells {es} how long it should keep the
18+
In order to use scrolling, the initial search request should specify the scroll
19+
parameter in the query string, which tells {es} how long it should keep the
2020
“search context” alive.
2121

22-
NOTE: Did you know that we provide an helper for sending scroll requests? You can find it {jsclient}/client-helpers.html[here].
22+
NOTE: Did you know that we provide an helper for sending scroll requests? You can find it <<scroll-search-helper,here>>.
2323

2424
[source,js]
2525
----
@@ -113,7 +113,7 @@ async function run () {
113113
run().catch(console.log)
114114
----
115115

116-
Another cool usage of the `scroll` API can be done with Node.js ≥ 10, by using
116+
Another cool usage of the `scroll` API can be done with Node.js ≥ 10, by using
117117
async iteration!
118118

119119
[source,js]

docs/examples/update.asciidoc

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[[update_examples]]
22
=== Update
33

4-
The update API allows updates of a specific document using the given script. In
5-
the following example, we will index a document that also tracks how many times
4+
The update API allows updates of a specific document using the given script. In
5+
the following example, we will index a document that also tracks how many times
66
a character has said the given quote, and then we will update the `times` field.
77

88
[source,js]
9-
---------
9+
----
1010
'use strict'
1111
1212
const { Client } = require('@elastic/elasticsearch')
@@ -48,12 +48,12 @@ async function run () {
4848
4949
run().catch(console.log)
5050
51-
---------
51+
----
5252

5353
With the update API, you can also run a partial update of a document.
5454

5555
[source,js]
56-
---------
56+
----
5757
'use strict'
5858
5959
const { Client } = require('@elastic/elasticsearch')
@@ -92,4 +92,4 @@ async function run () {
9292
run().catch(console.log)
9393
9494
95-
---------
95+
----

docs/examples/update_by_query.asciidoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[[update_by_query_examples]]
22
=== Update By Query
33

4-
The simplest usage of _update_by_query just performs an update on every document
5-
in the index without changing the source. This is useful to pick up a new
4+
The simplest usage of _update_by_query just performs an update on every document
5+
in the index without changing the source. This is useful to pick up a new
66
property or some other online mapping change.
77

88
[source,js]
9-
---------
9+
----
1010
'use strict'
1111
1212
const { Client } = require('@elastic/elasticsearch')
@@ -57,4 +57,4 @@ async function run () {
5757
5858
run().catch(console.log)
5959
60-
---------
60+
----

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elastic/elasticsearch",
3-
"version": "9.0.0-alpha.2",
3+
"version": "9.0.0-alpha.3",
44
"versionCanary": "9.0.0-canary.0",
55
"description": "The official Elasticsearch client for Node.js",
66
"main": "./index.js",

0 commit comments

Comments
 (0)