Skip to content

Commit 8dddca7

Browse files
authored
[DOCS] Remove and redirect frozen index overview content (#72990)
Changes: * Removes and adds redirects for the frozen indices [overview][0], [best practices][1], [search][2], and [monitoring][3] pages. * Removes glossary terms related to frozen indices. * Updates several xrefs to point to the freeze index API docs. Relates to #72946 and #70192. [0]: https://www.elastic.co/guide/en/elasticsearch/reference/7.12/frozen-indices.html [1]: https://www.elastic.co/guide/en/elasticsearch/reference/master/best_practices.html [2]: https://www.elastic.co/guide/en/elasticsearch/reference/master/searching_a_frozen_index.html [3]: https://www.elastic.co/guide/en/elasticsearch/reference/master/monitoring_frozen_indices.html
1 parent 785ce7e commit 8dddca7

15 files changed

+38
-144
lines changed

docs/reference/frozen-indices.asciidoc

-110
This file was deleted.

docs/reference/glossary.asciidoc

-15
Original file line numberDiff line numberDiff line change
@@ -155,21 +155,6 @@ Manually triggers a <<glossary-merge,merge>> to reduce the number of
155155
See the {ref}/indices-forcemerge.html[force merge API].
156156
// end::force-merge-def[]
157157

158-
[[glossary-freeze]] freeze::
159-
// tag::freeze-def[]
160-
// tag::freeze-def-short[]
161-
Makes an index read-only and minimizes its memory footprint.
162-
// end::freeze-def-short[]
163-
See the {ref}/freeze-index-api.html[freeze API].
164-
// end::freeze-def[]
165-
166-
[[glossary-frozen-index]] frozen index::
167-
// tag::frozen-index-def[]
168-
An <<glossary-index,index>> reduced to a low overhead state that still enables
169-
occasional searches.
170-
See the {ref}/freeze-index-api.html[freeze API].
171-
// end::frozen-index-def[]
172-
173158
[[glossary-frozen-phase]] frozen phase::
174159
// tag::frozen-phase-def[]
175160
Fourth possible phase in the <<glossary-index-lifecycle,index lifecycle>>. In

docs/reference/ilm/actions/ilm-freeze.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Phases allowed: cold.
66

7-
<<frozen-indices, Freezes>> an index to minimize its memory footprint.
7+
<<freeze-index-api, Freezes>> an index.
88

99
IMPORTANT: Freezing an index closes the index and reopens it within the same API call.
1010
This means that for a short time no primaries are allocated.

docs/reference/ilm/ilm-overview.asciidoc

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ include::../glossary.asciidoc[tag=rollover-def-short]
1818
include::../glossary.asciidoc[tag=shrink-def-short]
1919
* **Force merge**:
2020
include::../glossary.asciidoc[tag=force-merge-def-short]
21-
* **Freeze**:
22-
include::../glossary.asciidoc[tag=freeze-def-short]
21+
* **Freeze**: <<freeze-index-api, Freezes>> an index and makes it read-only.
2322
* **Delete**: Permanently remove an index, including all of its data and metadata.
2423

2524
{ilm-init} makes it easier to manage indices in hot-warm-cold architectures,

docs/reference/index.asciidoc

-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ include::autoscaling/index.asciidoc[]
5353

5454
include::monitoring/index.asciidoc[]
5555

56-
include::frozen-indices.asciidoc[]
57-
5856
include::data-rollup-transform.asciidoc[]
5957

6058
include::high-availability.asciidoc[]

docs/reference/indices/apis/freeze.asciidoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<titleabbrev>Freeze index</titleabbrev>
77
++++
88

9+
// tag::freeze-api-dep[]
910
deprecated::[7.14, Frozen indices are no longer useful due to https://www.elastic.co/blog/significantly-decrease-your-elasticsearch-heap-memory-usage[recent improvements in heap memory usage].]
11+
// end::freeze-api-dep[]
1012

1113
Freezes an index.
1214

@@ -27,7 +29,7 @@ Freezes an index.
2729
A frozen index has almost no overhead on the cluster (except for maintaining its
2830
metadata in memory) and is read-only. Read-only indices are blocked for write
2931
operations, such as <<indexing,docs-index_>> or <<indices-forcemerge,force
30-
merges>>. See <<frozen-indices>> and <<unfreeze-index-api>>.
32+
merges>>. See <<unfreeze-index-api>>.
3133

3234
The current write index on a data stream cannot be frozen. In order to freeze
3335
the current write index, the data stream must first be

docs/reference/indices/apis/unfreeze.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Unfreezes an index.
2323
==== {api-description-title}
2424

2525
When a frozen index is unfrozen, the index goes through the normal recovery
26-
process and becomes writeable again. See <<frozen-indices>> and <<freeze-index-api>>.
26+
process and becomes writeable again. See <<freeze-index-api>>.
2727

2828
IMPORTANT: Freezing an index will close the index and reopen it within the same
2929
API call. This causes primaries to not be allocated for a short amount of time

docs/reference/indices/index-mgmt.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Open {kib}'s main menu and click *Stack Management > Index Management*.
4343
image::images/index-mgmt/management_index_labels.png[Index Management UI]
4444

4545
The *Index Management* page contains an overview of your indices.
46-
Badges indicate if an index is <<frozen-indices,frozen>>, a
46+
Badges indicate if an index is <<freeze-index-api,frozen>>, a
4747
<<ccr-put-follow,follower index>>, or a
4848
<<rollup-get-rollup-index-caps,rollup index>>.
4949

docs/reference/mapping/params/eager-global-ordinals.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ PUT my-index-000001/_mapping
8585
------------
8686
// TEST[continued]
8787

88-
IMPORTANT: On a <<frozen-indices,frozen index>>, global ordinals are discarded
88+
IMPORTANT: On a <<freeze-index-api,frozen index>>, global ordinals are discarded
8989
after each search and rebuilt again when they're requested. This means that
9090
`eager_global_ordinals` should not be used on frozen indices: it would
9191
cause global ordinals to be reloaded on every search. Instead, the index should

docs/reference/redirects.asciidoc

+24
Original file line numberDiff line numberDiff line change
@@ -1555,3 +1555,27 @@ See <<getting-started>>.
15551555
=== Settng JVM options
15561556

15571557
See <<set-jvm-options>>.
1558+
1559+
[role="exclude",id="frozen-indices"]
1560+
=== Frozen indices
1561+
1562+
// tag::frozen-index-redirect[]
1563+
include::{es-repo-dir}/indices/apis/freeze.asciidoc[tag=freeze-api-dep]
1564+
1565+
For API documentation, see <<freeze-index-api>> and <<unfreeze-index-api>>.
1566+
// end::frozen-index-redirect[]
1567+
1568+
[role="exclude",id="best_practices"]
1569+
=== Best practices for frozen indices
1570+
1571+
include::redirects.asciidoc[tag=frozen-index-redirect]
1572+
1573+
[role="exclude",id="searching_a_frozen_index"]
1574+
=== Searching a frozen index
1575+
1576+
include::redirects.asciidoc[tag=frozen-index-redirect]
1577+
1578+
[role="exclude",id="monitoring_frozen_indices"]
1579+
=== Monitoring frozen indices
1580+
1581+
include::redirects.asciidoc[tag=frozen-index-redirect]

docs/reference/search/search-your-data/long-running-searches.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
{es} generally allows you to quickly search across big amounts of data. There are
77
situations where a search executes on many shards, possibly against
8-
<<frozen-indices,frozen indices>> and spanning multiple
8+
<<freeze-index-api,frozen indices>> and spanning multiple
99
<<modules-remote-clusters,remote clusters>>, for which
1010
results are not expected to be returned in milliseconds. When you need to
1111
execute long-running searches, synchronously

docs/reference/search/search-your-data/search-your-data.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ _synchronous_ by default. The search request waits for complete results before
220220
returning a response.
221221

222222
However, complete results can take longer for searches across
223-
<<frozen-indices,frozen indices>> or <<modules-cross-cluster-search,multiple
223+
<<freeze-index-api,frozen indices>> or <<modules-cross-cluster-search,multiple
224224
clusters>>.
225225

226226
To avoid long waits, you can run an _asynchronous_, or _async_, search

docs/reference/sql/endpoints/jdbc.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ will be - typically the first in natural ascending order) for fields with multip
145145

146146
[discrete]
147147
==== Index
148-
`index.include.frozen` (default `false`):: Whether to include <<frozen-indices, frozen-indices>> in the query execution or not (default).
148+
`index.include.frozen` (default `false`):: Whether to include <<freeze-index-api, frozen-indices>> in the query execution or not (default).
149149

150150
[discrete]
151151
==== Additional

docs/reference/sql/endpoints/rest.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ More information available https://docs.oracle.com/javase/8/docs/api/java/time/Z
612612

613613
|index_include_frozen
614614
|false
615-
|Whether to include <<frozen-indices, frozen-indices>> in the query execution or not (default).
615+
|Whether to include <<freeze-index-api, frozen-indices>> in the query execution or not (default).
616616

617617
|params
618618
|none

docs/reference/sql/language/indices.asciidoc

+2-6
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,8 @@ requires the keyword `LIKE` for SQL `LIKE` pattern.
8888
[[sql-index-frozen]]
8989
=== Frozen Indices
9090

91-
{es} <<frozen-indices, frozen indices>> are a useful and powerful tool for hot/warm architecture introduced in {es} 6.6,
92-
essentially by trading speed for memory.
93-
{es-sql} supports frozen indices and similar to {es}, due to their performance characteristics, allows searches on them only
94-
when explicitly told so by user - in other words, by default, frozen indices are not included in searches.
95-
96-
One can toggle the use of frozen indices through:
91+
By default, {es-sql} doesn't search <<freeze-index-api,frozen indices>>. To
92+
search frozen indices, use one of the following features:
9793

9894
dedicated configuration parameter::
9995
Set to `true` properties `index_include_frozen` in the <<sql-rest>> or `index.include.frozen` in the drivers to include frozen indices.

0 commit comments

Comments
 (0)