From 9080f51340b1b26f8bd171b4c82de8d87ad42b55 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Thu, 14 Apr 2016 11:33:03 -0400 Subject: [PATCH] NORELEASE for getWriteableName in aggregations base class --- .../elasticsearch/search/aggregations/AggregatorBuilder.java | 1 + .../bucket/histogram/HistogramAggregatorBuilder.java | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/core/src/main/java/org/elasticsearch/search/aggregations/AggregatorBuilder.java b/core/src/main/java/org/elasticsearch/search/aggregations/AggregatorBuilder.java index bd05577801a..04fa29989db 100644 --- a/core/src/main/java/org/elasticsearch/search/aggregations/AggregatorBuilder.java +++ b/core/src/main/java/org/elasticsearch/search/aggregations/AggregatorBuilder.java @@ -190,6 +190,7 @@ public abstract class AggregatorBuilder> extend @Override public String getWriteableName() { + // NORELEASE remove this before 5.0.0GA - all builders will implement this method on their own. return type.stream().toUtf8(); } diff --git a/core/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/HistogramAggregatorBuilder.java b/core/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/HistogramAggregatorBuilder.java index cb706ac03fc..49bbd7160cf 100644 --- a/core/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/HistogramAggregatorBuilder.java +++ b/core/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/HistogramAggregatorBuilder.java @@ -51,4 +51,8 @@ public class HistogramAggregatorBuilder extends AbstractHistogramBuilder