Browse Source

#26173: Removed global_ordinals_hash and global_ordinals_low_cardinality exeuction hint deprecated in 6.1

Jim Ferenczi 8 years ago
parent
commit
a48616272f

+ 0 - 6
core/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/TermsAggregatorFactory.java

@@ -299,12 +299,6 @@ public class TermsAggregatorFactory extends ValuesSourceAggregatorFactory<Values
             switch (value) {
                 case "global_ordinals":
                     return GLOBAL_ORDINALS;
-                case "global_ordinals_hash":
-                    deprecationLogger.deprecated("[global_ordinals_hash] is deprecated. Please use [global_ordinals] instead.");
-                    return GLOBAL_ORDINALS;
-                case "global_ordinals_low_cardinality":
-                    deprecationLogger.deprecated("[global_ordinals_low_cardinality] is deprecated. Please use [global_ordinals] instead.");
-                    return GLOBAL_ORDINALS;
                 case "map":
                     return MAP;
                 default:

+ 2 - 0
docs/reference/migration/migrate_7_0.asciidoc

@@ -26,6 +26,8 @@ way to reindex old indices is to use the `reindex` API.
 
 * <<breaking_70_cluster_changes>>
 * <<breaking_70_indices_changes>>
+* <<breaking_70_aggregations_changes>>
 
 include::migrate_7_0/cluster.asciidoc[]
 include::migrate_7_0/indices.asciidoc[]
+include::migrate_7_0/aggregations.asciidoc[]

+ 6 - 0
docs/reference/migration/migrate_7_0/aggregations.asciidoc

@@ -0,0 +1,6 @@
+[[breaking_70_aggregations_changes]]
+=== Aggregations changes
+
+==== Deprecated `global_ordinals_hash` and `global_ordinals_low_cardinality` execution hints for terms aggregations have been removed
+
+These `execution_hint` are removed and should be replaced by `global_ordinals`.