Skip to content

Commit a486162

Browse files
committed
#26173: Removed global_ordinals_hash and global_ordinals_low_cardinality exeuction hint deprecated in 6.1
1 parent 977dcfe commit a486162

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

core/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/TermsAggregatorFactory.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -299,12 +299,6 @@ public static ExecutionMode fromString(String value, final DeprecationLogger dep
299299
switch (value) {
300300
case "global_ordinals":
301301
return GLOBAL_ORDINALS;
302-
case "global_ordinals_hash":
303-
deprecationLogger.deprecated("[global_ordinals_hash] is deprecated. Please use [global_ordinals] instead.");
304-
return GLOBAL_ORDINALS;
305-
case "global_ordinals_low_cardinality":
306-
deprecationLogger.deprecated("[global_ordinals_low_cardinality] is deprecated. Please use [global_ordinals] instead.");
307-
return GLOBAL_ORDINALS;
308302
case "map":
309303
return MAP;
310304
default:

docs/reference/migration/migrate_7_0.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ way to reindex old indices is to use the `reindex` API.
2626

2727
* <<breaking_70_cluster_changes>>
2828
* <<breaking_70_indices_changes>>
29+
* <<breaking_70_aggregations_changes>>
2930

3031
include::migrate_7_0/cluster.asciidoc[]
3132
include::migrate_7_0/indices.asciidoc[]
33+
include::migrate_7_0/aggregations.asciidoc[]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[[breaking_70_aggregations_changes]]
2+
=== Aggregations changes
3+
4+
==== Deprecated `global_ordinals_hash` and `global_ordinals_low_cardinality` execution hints for terms aggregations have been removed
5+
6+
These `execution_hint` are removed and should be replaced by `global_ordinals`.

0 commit comments

Comments
 (0)