Skip to content

Commit f3d13f7

Browse files
committed
[DOCS] Add anchors for Asciidoctor migration (#41648)
1 parent ba735c3 commit f3d13f7

File tree

5 files changed

+19
-0
lines changed

5 files changed

+19
-0
lines changed

docs/reference/docs/update.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ curl -XPOST 'localhost:9200/test/type1/1/_update' -d '{
150150
--------------------------------------------------
151151

152152
[float]
153+
[[scripted_upsert]]
153154
==== `scripted_upsert`
154155

155156
If you would like your script to run regardless of whether the document exists
@@ -173,6 +174,7 @@ curl -XPOST 'localhost:9200/sessions/session/dh3sgudg8gsrgl/_update' -d '{
173174
--------------------------------------------------
174175

175176
[float]
177+
[[doc_as_upsert]]
176178
==== `doc_as_upsert`
177179

178180
Instead of sending a partial `doc` plus an `upsert` doc, setting

docs/reference/getting-started.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ This REST access pattern is pervasive throughout all the API commands that if yo
384384
Elasticsearch provides data manipulation and search capabilities in near real time. By default, you can expect a one second delay (refresh interval) from the time you index/update/delete your data until the time that it appears in your search results. This is an important distinction from other platforms like SQL wherein data is immediately available after a transaction is completed.
385385

386386
[float]
387+
[[indexing-replacing-documents]]
387388
=== Indexing/Replacing Documents
388389

389390
We've previously seen how we can index a single document. Let's recall that command again:

docs/reference/mapping/fields/source-field.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ JSON that was used as the indexed document. It is not indexed (searchable),
66
just stored. When executing "fetch" requests, like <<docs-get,get>> or
77
<<search-search,search>>, the `_source` field is returned by default.
88

9+
[[disable-source-field]]
910
==== Disabling source
1011

1112
Though very handy to have around, the source field does incur storage overhead

docs/reference/modules/snapshots.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ GET /_snapshot/my_backup/snapshot_1,snapshot_2/_status
433433
// AUTOSENSE
434434

435435
[float]
436+
[[monitor-snapshot-restore-progress]]
436437
=== Monitoring snapshot/restore progress
437438

438439
There are several ways to monitor the progress of the snapshot and restores processes while they are running. Both

docs/reference/modules/threadpool.asciidoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ The following are the types of thread pools that can be used and their
8080
respective parameters:
8181

8282
[float]
83+
[[cached]]
8384
==== `cache`
8485

8586
The `cache` thread pool is an unbounded thread pool that will spawn a
@@ -94,6 +95,7 @@ threadpool:
9495
--------------------------------------------------
9596

9697
[float]
98+
[[fixed]]
9799
==== `fixed`
98100

99101
The `fixed` thread pool holds a fixed size of threads to handle the
@@ -118,12 +120,24 @@ threadpool:
118120
--------------------------------------------------
119121

120122
[float]
123+
<<<<<<< HEAD
121124
[[processors]]
122125
=== Processors setting
123126
The number of processors is automatically detected, and the thread pool
124127
settings are automatically set based on it. In some cases it can be
125128
useful to override the number of detected processors. This can be done
126129
by explicitly setting the `processors` setting.
130+
=======
131+
[[scaling]]
132+
==== `scaling`
133+
134+
The `scaling` thread pool holds a dynamic number of threads. This number is
135+
proportional to the workload and varies between 1 and the value of the
136+
`size` parameter.
137+
138+
The `keep_alive` parameter determines how long a thread should be kept
139+
around in the thread pool without it doing any work.
140+
>>>>>>> 045a4029b80... [DOCS] Add anchors for Asciidoctor migration (#41648)
127141
128142
[source,js]
129143
--------------------------------------------------

0 commit comments

Comments
 (0)