diff --git a/core/src/main/java/org/apache/lucene/queryparser/classic/ExistsFieldQueryExtension.java b/core/src/main/java/org/apache/lucene/queryparser/classic/ExistsFieldQueryExtension.java
index cb4bee30aaa..7c3e8652c07 100644
--- a/core/src/main/java/org/apache/lucene/queryparser/classic/ExistsFieldQueryExtension.java
+++ b/core/src/main/java/org/apache/lucene/queryparser/classic/ExistsFieldQueryExtension.java
@@ -24,9 +24,6 @@ import org.apache.lucene.search.Query;
import org.elasticsearch.index.query.ExistsQueryBuilder;
import org.elasticsearch.index.query.QueryShardContext;
-/**
- *
- */
public class ExistsFieldQueryExtension implements FieldQueryExtension {
public static final String NAME = "_exists_";
diff --git a/core/src/main/java/org/apache/lucene/queryparser/classic/FieldQueryExtension.java b/core/src/main/java/org/apache/lucene/queryparser/classic/FieldQueryExtension.java
index 299a37a1550..6d7e6dc6eca 100644
--- a/core/src/main/java/org/apache/lucene/queryparser/classic/FieldQueryExtension.java
+++ b/core/src/main/java/org/apache/lucene/queryparser/classic/FieldQueryExtension.java
@@ -22,9 +22,6 @@ package org.apache.lucene.queryparser.classic;
import org.apache.lucene.search.Query;
import org.elasticsearch.index.query.QueryShardContext;
-/**
- *
- */
public interface FieldQueryExtension {
Query query(QueryShardContext context, String queryText);
diff --git a/core/src/main/java/org/apache/lucene/search/vectorhighlight/CustomFieldQuery.java b/core/src/main/java/org/apache/lucene/search/vectorhighlight/CustomFieldQuery.java
index d360a9d68bd..f58d4b47424 100644
--- a/core/src/main/java/org/apache/lucene/search/vectorhighlight/CustomFieldQuery.java
+++ b/core/src/main/java/org/apache/lucene/search/vectorhighlight/CustomFieldQuery.java
@@ -39,9 +39,6 @@ import org.elasticsearch.common.lucene.search.function.FunctionScoreQuery;
import java.io.IOException;
import java.util.Collection;
-/**
- *
- */
// LUCENE MONITOR
// TODO: remove me!
public class CustomFieldQuery extends FieldQuery {
diff --git a/core/src/main/java/org/apache/lucene/store/StoreRateLimiting.java b/core/src/main/java/org/apache/lucene/store/StoreRateLimiting.java
index 3f5e10cb895..8e25d812e92 100644
--- a/core/src/main/java/org/apache/lucene/store/StoreRateLimiting.java
+++ b/core/src/main/java/org/apache/lucene/store/StoreRateLimiting.java
@@ -22,8 +22,6 @@ import org.apache.lucene.store.RateLimiter.SimpleRateLimiter;
import org.elasticsearch.common.Nullable;
import org.elasticsearch.common.unit.ByteSizeValue;
-/**
- */
public class StoreRateLimiting {
public interface Provider {
diff --git a/core/src/main/java/org/apache/lucene/store/StoreUtils.java b/core/src/main/java/org/apache/lucene/store/StoreUtils.java
index b7de08b1ec1..c26bbbac353 100644
--- a/core/src/main/java/org/apache/lucene/store/StoreUtils.java
+++ b/core/src/main/java/org/apache/lucene/store/StoreUtils.java
@@ -20,8 +20,6 @@ package org.apache.lucene.store;
import java.util.Arrays;
-/**
- */
public final class StoreUtils {
private StoreUtils() {
diff --git a/core/src/main/java/org/elasticsearch/ElasticsearchParseException.java b/core/src/main/java/org/elasticsearch/ElasticsearchParseException.java
index 1358ef54d9d..cdccdb8da95 100644
--- a/core/src/main/java/org/elasticsearch/ElasticsearchParseException.java
+++ b/core/src/main/java/org/elasticsearch/ElasticsearchParseException.java
@@ -24,9 +24,6 @@ import org.elasticsearch.rest.RestStatus;
import java.io.IOException;
-/**
- *
- */
public class ElasticsearchParseException extends ElasticsearchException {
public ElasticsearchParseException(String msg, Object... args) {
diff --git a/core/src/main/java/org/elasticsearch/ElasticsearchWrapperException.java b/core/src/main/java/org/elasticsearch/ElasticsearchWrapperException.java
index 79e501b537a..0b809e0923b 100644
--- a/core/src/main/java/org/elasticsearch/ElasticsearchWrapperException.java
+++ b/core/src/main/java/org/elasticsearch/ElasticsearchWrapperException.java
@@ -19,9 +19,6 @@
package org.elasticsearch;
-/**
- *
- */
public interface ElasticsearchWrapperException {
Throwable getCause();
diff --git a/core/src/main/java/org/elasticsearch/Version.java b/core/src/main/java/org/elasticsearch/Version.java
index 163fc22e7b7..9002328591c 100644
--- a/core/src/main/java/org/elasticsearch/Version.java
+++ b/core/src/main/java/org/elasticsearch/Version.java
@@ -29,8 +29,6 @@ import org.elasticsearch.monitor.jvm.JvmInfo;
import java.io.IOException;
-/**
- */
public class Version {
/*
* The logic for ID is: XXYYZZAA, where XX is major version, YY is minor version, ZZ is revision, and AA is alpha/beta/rc indicator AA
@@ -97,6 +95,15 @@ public class Version {
public static final Version V_6_0_0_alpha1 = new Version(V_6_0_0_alpha1_ID, org.apache.lucene.util.Version.LUCENE_6_2_0);
public static final Version CURRENT = V_6_0_0_alpha1;
+ /* NOTE: don't add unreleased version to this list except of the version assigned to CURRENT.
+ * If you need a version that doesn't exist here for instance V_5_1_0 then go and create such a version
+ * as a constant where you need it:
+ *
+ * public static final Version V_5_1_0_UNRELEASED = new Version(5010099, Version.CURRENT.luceneVersion);
+ *
+ * Then go to VersionsTest.java and add a test for this constant VersionTests#testUnknownVersions().
+ * This is particularly useful if you are building a feature that needs a BWC layer for this unreleased version etc.*/
+
static {
assert CURRENT.luceneVersion.equals(org.apache.lucene.util.Version.LATEST) : "Version must be upgraded to ["
+ org.apache.lucene.util.Version.LATEST + "] is still set to [" + CURRENT.luceneVersion + "]";
diff --git a/core/src/main/java/org/elasticsearch/action/ActionRequest.java b/core/src/main/java/org/elasticsearch/action/ActionRequest.java
index 970afa413cc..e8dd639c4df 100644
--- a/core/src/main/java/org/elasticsearch/action/ActionRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/ActionRequest.java
@@ -25,9 +25,6 @@ import org.elasticsearch.transport.TransportRequest;
import java.io.IOException;
-/**
- *
- */
public abstract class ActionRequest> extends TransportRequest {
public ActionRequest() {
diff --git a/core/src/main/java/org/elasticsearch/action/ActionRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/ActionRequestBuilder.java
index 8cbc405dafb..076d4ae67f6 100644
--- a/core/src/main/java/org/elasticsearch/action/ActionRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/ActionRequestBuilder.java
@@ -26,9 +26,6 @@ import org.elasticsearch.threadpool.ThreadPool;
import java.util.Objects;
-/**
- *
- */
public abstract class ActionRequestBuilder> {
protected final Action action;
diff --git a/core/src/main/java/org/elasticsearch/action/FailedNodeException.java b/core/src/main/java/org/elasticsearch/action/FailedNodeException.java
index f6e680f2dab..bf9aad0d39e 100644
--- a/core/src/main/java/org/elasticsearch/action/FailedNodeException.java
+++ b/core/src/main/java/org/elasticsearch/action/FailedNodeException.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- *
- */
public class FailedNodeException extends ElasticsearchException {
private final String nodeId;
diff --git a/core/src/main/java/org/elasticsearch/action/NoShardAvailableActionException.java b/core/src/main/java/org/elasticsearch/action/NoShardAvailableActionException.java
index 00562af99c5..af40a7a672e 100644
--- a/core/src/main/java/org/elasticsearch/action/NoShardAvailableActionException.java
+++ b/core/src/main/java/org/elasticsearch/action/NoShardAvailableActionException.java
@@ -26,9 +26,6 @@ import org.elasticsearch.rest.RestStatus;
import java.io.IOException;
-/**
- *
- */
public class NoShardAvailableActionException extends ElasticsearchException {
public NoShardAvailableActionException(ShardId shardId) {
diff --git a/core/src/main/java/org/elasticsearch/action/NoSuchNodeException.java b/core/src/main/java/org/elasticsearch/action/NoSuchNodeException.java
index 3f8ce1441c5..0d800cd99c3 100644
--- a/core/src/main/java/org/elasticsearch/action/NoSuchNodeException.java
+++ b/core/src/main/java/org/elasticsearch/action/NoSuchNodeException.java
@@ -23,9 +23,6 @@ import org.elasticsearch.common.io.stream.StreamInput;
import java.io.IOException;
-/**
- *
- */
public class NoSuchNodeException extends FailedNodeException {
public NoSuchNodeException(String nodeId) {
diff --git a/core/src/main/java/org/elasticsearch/action/PrimaryMissingActionException.java b/core/src/main/java/org/elasticsearch/action/PrimaryMissingActionException.java
index f364bdb9aef..6e9ff68f5e9 100644
--- a/core/src/main/java/org/elasticsearch/action/PrimaryMissingActionException.java
+++ b/core/src/main/java/org/elasticsearch/action/PrimaryMissingActionException.java
@@ -24,9 +24,6 @@ import org.elasticsearch.common.io.stream.StreamInput;
import java.io.IOException;
-/**
- *
- */
public class PrimaryMissingActionException extends ElasticsearchException {
public PrimaryMissingActionException(String message) {
diff --git a/core/src/main/java/org/elasticsearch/action/RoutingMissingException.java b/core/src/main/java/org/elasticsearch/action/RoutingMissingException.java
index 86bca96d744..1ecd9593e1c 100644
--- a/core/src/main/java/org/elasticsearch/action/RoutingMissingException.java
+++ b/core/src/main/java/org/elasticsearch/action/RoutingMissingException.java
@@ -27,9 +27,6 @@ import org.elasticsearch.rest.RestStatus;
import java.io.IOException;
import java.util.Objects;
-/**
- *
- */
public class RoutingMissingException extends ElasticsearchException {
private final String type;
diff --git a/core/src/main/java/org/elasticsearch/action/ThreadingModel.java b/core/src/main/java/org/elasticsearch/action/ThreadingModel.java
index a4e020d9f08..996ebc9d6cc 100644
--- a/core/src/main/java/org/elasticsearch/action/ThreadingModel.java
+++ b/core/src/main/java/org/elasticsearch/action/ThreadingModel.java
@@ -20,9 +20,6 @@
package org.elasticsearch.action;
-/**
- *
- */
public enum ThreadingModel {
NONE((byte) 0),
OPERATION((byte) 1),
diff --git a/core/src/main/java/org/elasticsearch/action/TimestampParsingException.java b/core/src/main/java/org/elasticsearch/action/TimestampParsingException.java
index 0764bb502c0..c8401969d7e 100644
--- a/core/src/main/java/org/elasticsearch/action/TimestampParsingException.java
+++ b/core/src/main/java/org/elasticsearch/action/TimestampParsingException.java
@@ -25,8 +25,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- */
public class TimestampParsingException extends ElasticsearchException {
private final String timestamp;
diff --git a/core/src/main/java/org/elasticsearch/action/UnavailableShardsException.java b/core/src/main/java/org/elasticsearch/action/UnavailableShardsException.java
index e2cff9244ea..ac39bd91f2b 100644
--- a/core/src/main/java/org/elasticsearch/action/UnavailableShardsException.java
+++ b/core/src/main/java/org/elasticsearch/action/UnavailableShardsException.java
@@ -27,9 +27,6 @@ import org.elasticsearch.rest.RestStatus;
import java.io.IOException;
-/**
- *
- */
public class UnavailableShardsException extends ElasticsearchException {
public UnavailableShardsException(@Nullable ShardId shardId, String message, Object... args) {
diff --git a/core/src/main/java/org/elasticsearch/action/ValidateActions.java b/core/src/main/java/org/elasticsearch/action/ValidateActions.java
index d0ade0695fd..d748ba59e01 100644
--- a/core/src/main/java/org/elasticsearch/action/ValidateActions.java
+++ b/core/src/main/java/org/elasticsearch/action/ValidateActions.java
@@ -19,9 +19,6 @@
package org.elasticsearch.action;
-/**
- *
- */
public class ValidateActions {
public static ActionRequestValidationException addValidationError(String error, ActionRequestValidationException validationException) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthAction.java
index 9770b05bae0..786b3185116 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.health;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ClusterHealthAction extends Action {
public static final ClusterHealthAction INSTANCE = new ClusterHealthAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthRequest.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthRequest.java
index 47e0ecd7f74..ef206d0183b 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthRequest.java
@@ -34,9 +34,6 @@ import org.elasticsearch.common.unit.TimeValue;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
-/**
- *
- */
public class ClusterHealthRequest extends MasterNodeReadRequest implements IndicesRequest.Replaceable {
private String[] indices;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthRequestBuilder.java
index 1a82cf8cb1c..6716591f7a6 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthRequestBuilder.java
@@ -26,9 +26,6 @@ import org.elasticsearch.cluster.health.ClusterHealthStatus;
import org.elasticsearch.common.Priority;
import org.elasticsearch.common.unit.TimeValue;
-/**
- *
- */
public class ClusterHealthRequestBuilder extends MasterNodeReadOperationRequestBuilder {
public ClusterHealthRequestBuilder(ElasticsearchClient client, ClusterHealthAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthResponse.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthResponse.java
index d483ae86bf7..e4a575dcf79 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthResponse.java
@@ -36,9 +36,6 @@ import java.io.IOException;
import java.util.Locale;
import java.util.Map;
-/**
- *
- */
public class ClusterHealthResponse extends ActionResponse implements StatusToXContent {
private String clusterName;
private int numberOfPendingTasks = 0;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/health/TransportClusterHealthAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/health/TransportClusterHealthAction.java
index 93140794240..7a5e5eef08a 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/health/TransportClusterHealthAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/health/TransportClusterHealthAction.java
@@ -44,9 +44,6 @@ import org.elasticsearch.tasks.Task;
import org.elasticsearch.threadpool.ThreadPool;
import org.elasticsearch.transport.TransportService;
-/**
- *
- */
public class TransportClusterHealthAction extends TransportMasterNodeReadAction {
private final GatewayAllocator gatewayAllocator;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodeHotThreads.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodeHotThreads.java
index 635be28a646..7268f962cee 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodeHotThreads.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodeHotThreads.java
@@ -26,8 +26,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- */
public class NodeHotThreads extends BaseNodeResponse {
private String hotThreads;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsAction.java
index 7010b4cb143..57ca90288ce 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.node.hotthreads;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class NodesHotThreadsAction extends Action {
public static final NodesHotThreadsAction INSTANCE = new NodesHotThreadsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsRequest.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsRequest.java
index e3df7f57312..60b03c710af 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsRequest.java
@@ -27,8 +27,6 @@ import org.elasticsearch.common.unit.TimeValue;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
-/**
- */
public class NodesHotThreadsRequest extends BaseNodesRequest {
int threads = 3;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsRequestBuilder.java
index 60001f50b62..1709151e824 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsRequestBuilder.java
@@ -23,8 +23,6 @@ import org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
import org.elasticsearch.common.unit.TimeValue;
-/**
- */
public class NodesHotThreadsRequestBuilder extends NodesOperationRequestBuilder {
public NodesHotThreadsRequestBuilder(ElasticsearchClient client, NodesHotThreadsAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsResponse.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsResponse.java
index 3136f2b6826..44c38cb4f9a 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/NodesHotThreadsResponse.java
@@ -28,8 +28,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
import java.util.List;
-/**
- */
public class NodesHotThreadsResponse extends BaseNodesResponse {
NodesHotThreadsResponse() {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/TransportNodesHotThreadsAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/TransportNodesHotThreadsAction.java
index 73403f40318..da45a3e4027 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/TransportNodesHotThreadsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/TransportNodesHotThreadsAction.java
@@ -38,9 +38,6 @@ import org.elasticsearch.transport.TransportService;
import java.io.IOException;
import java.util.List;
-/**
- *
- */
public class TransportNodesHotThreadsAction extends TransportNodesAction {
public static final NodesInfoAction INSTANCE = new NodesInfoAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodesInfoRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodesInfoRequestBuilder.java
index 16befb79aab..12221016160 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodesInfoRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodesInfoRequestBuilder.java
@@ -22,9 +22,6 @@ package org.elasticsearch.action.admin.cluster.node.info;
import org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class NodesInfoRequestBuilder extends NodesOperationRequestBuilder {
public NodesInfoRequestBuilder(ElasticsearchClient client, NodesInfoAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodesInfoResponse.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodesInfoResponse.java
index 2d273bef2c0..f233494e1c6 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodesInfoResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodesInfoResponse.java
@@ -34,9 +34,6 @@ import java.io.IOException;
import java.util.List;
import java.util.Map;
-/**
- *
- */
public class NodesInfoResponse extends BaseNodesResponse implements ToXContent {
public NodesInfoResponse() {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/TransportNodesInfoAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/TransportNodesInfoAction.java
index 028198cf831..c26554b25e0 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/TransportNodesInfoAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/info/TransportNodesInfoAction.java
@@ -36,9 +36,6 @@ import org.elasticsearch.transport.TransportService;
import java.io.IOException;
import java.util.List;
-/**
- *
- */
public class TransportNodesInfoAction extends TransportNodesAction {
public static final NodesStatsAction INSTANCE = new NodesStatsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/NodesStatsRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/NodesStatsRequestBuilder.java
index 027e6122681..d4005c84d09 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/NodesStatsRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/NodesStatsRequestBuilder.java
@@ -23,9 +23,6 @@ import org.elasticsearch.action.admin.indices.stats.CommonStatsFlags;
import org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class NodesStatsRequestBuilder extends NodesOperationRequestBuilder {
public NodesStatsRequestBuilder(ElasticsearchClient client, NodesStatsAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/NodesStatsResponse.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/NodesStatsResponse.java
index 1a9023ab93c..c4553304f41 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/NodesStatsResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/NodesStatsResponse.java
@@ -31,9 +31,6 @@ import org.elasticsearch.common.xcontent.XContentFactory;
import java.io.IOException;
import java.util.List;
-/**
- *
- */
public class NodesStatsResponse extends BaseNodesResponse implements ToXContent {
NodesStatsResponse() {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/TransportNodesStatsAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/TransportNodesStatsAction.java
index 5863e54d08f..b4cef38d28d 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/TransportNodesStatsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/node/stats/TransportNodesStatsAction.java
@@ -36,9 +36,6 @@ import org.elasticsearch.transport.TransportService;
import java.io.IOException;
import java.util.List;
-/**
- *
- */
public class TransportNodesStatsAction extends TransportNodesAction {
public static long waitForCompletionTimeout(TimeValue timeout) {
if (timeout == null) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/reroute/ClusterRerouteAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/reroute/ClusterRerouteAction.java
index 7aa6dc25cdc..70a39d2d329 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/reroute/ClusterRerouteAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/reroute/ClusterRerouteAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.reroute;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ClusterRerouteAction extends Action {
public static final ClusterRerouteAction INSTANCE = new ClusterRerouteAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/reroute/TransportClusterRerouteAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/reroute/TransportClusterRerouteAction.java
index 7aade821f83..6fe497dd16f 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/reroute/TransportClusterRerouteAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/reroute/TransportClusterRerouteAction.java
@@ -39,8 +39,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.threadpool.ThreadPool;
import org.elasticsearch.transport.TransportService;
-/**
- */
public class TransportClusterRerouteAction extends TransportMasterNodeAction {
private final AllocationService allocationService;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/settings/ClusterUpdateSettingsAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/settings/ClusterUpdateSettingsAction.java
index 15b3e70dd04..bb0c0b08a92 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/settings/ClusterUpdateSettingsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/settings/ClusterUpdateSettingsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.settings;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ClusterUpdateSettingsAction extends Action {
public static final ClusterUpdateSettingsAction INSTANCE = new ClusterUpdateSettingsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsAction.java
index 28f7557a2e2..cb3240a7929 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.shards;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ClusterSearchShardsAction extends Action {
public static final ClusterSearchShardsAction INSTANCE = new ClusterSearchShardsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsGroup.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsGroup.java
index ccb4d32465e..12d9ffe7c38 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsGroup.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsGroup.java
@@ -30,8 +30,6 @@ import org.elasticsearch.index.shard.ShardId;
import java.io.IOException;
-/**
- */
public class ClusterSearchShardsGroup implements Streamable, ToXContent {
private ShardId shardId;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsRequest.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsRequest.java
index 21ecf8a4c4f..8dc747474c4 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsRequest.java
@@ -30,8 +30,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- */
public class ClusterSearchShardsRequest extends MasterNodeReadRequest implements IndicesRequest.Replaceable {
private String[] indices;
@Nullable
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsRequestBuilder.java
index 0b9c9d044e7..030d5db6472 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsRequestBuilder.java
@@ -23,8 +23,6 @@ import org.elasticsearch.action.support.IndicesOptions;
import org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ClusterSearchShardsRequestBuilder extends MasterNodeReadOperationRequestBuilder {
public ClusterSearchShardsRequestBuilder(ElasticsearchClient client, ClusterSearchShardsAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsResponse.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsResponse.java
index 5f45025351e..140a0141a2d 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsResponse.java
@@ -28,8 +28,6 @@ import org.elasticsearch.common.xcontent.XContentBuilder;
import java.io.IOException;
-/**
- */
public class ClusterSearchShardsResponse extends ActionResponse implements ToXContent {
private ClusterSearchShardsGroup[] groups;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/TransportClusterSearchShardsAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/TransportClusterSearchShardsAction.java
index 2f9a6e7dede..087597d47fc 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/TransportClusterSearchShardsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/shards/TransportClusterSearchShardsAction.java
@@ -42,8 +42,6 @@ import java.util.HashSet;
import java.util.Map;
import java.util.Set;
-/**
- */
public class TransportClusterSearchShardsAction extends TransportMasterNodeReadAction {
@Inject
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/restore/TransportRestoreSnapshotAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/restore/TransportRestoreSnapshotAction.java
index 070db6c5248..3ef12dfff0e 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/restore/TransportRestoreSnapshotAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/restore/TransportRestoreSnapshotAction.java
@@ -22,19 +22,27 @@ package org.elasticsearch.action.admin.cluster.snapshots.restore;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.support.ActionFilters;
import org.elasticsearch.action.support.master.TransportMasterNodeAction;
+import org.elasticsearch.cluster.ClusterChangedEvent;
import org.elasticsearch.cluster.ClusterState;
+import org.elasticsearch.cluster.ClusterStateListener;
+import org.elasticsearch.cluster.RestoreInProgress;
import org.elasticsearch.cluster.block.ClusterBlockException;
import org.elasticsearch.cluster.block.ClusterBlockLevel;
import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver;
import org.elasticsearch.cluster.service.ClusterService;
+import org.elasticsearch.common.collect.ImmutableOpenMap;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.settings.Settings;
+import org.elasticsearch.index.shard.ShardId;
import org.elasticsearch.snapshots.RestoreInfo;
import org.elasticsearch.snapshots.RestoreService;
+import org.elasticsearch.snapshots.RestoreService.RestoreCompletionResponse;
import org.elasticsearch.snapshots.Snapshot;
import org.elasticsearch.threadpool.ThreadPool;
import org.elasticsearch.transport.TransportService;
+import static org.elasticsearch.snapshots.RestoreService.restoreInProgress;
+
/**
* Transport action for restore snapshot operation
*/
@@ -78,28 +86,44 @@ public class TransportRestoreSnapshotAction extends TransportMasterNodeAction() {
+ restoreService.restoreSnapshot(restoreRequest, new ActionListener() {
@Override
- public void onResponse(RestoreInfo restoreInfo) {
- if (restoreInfo == null && request.waitForCompletion()) {
- restoreService.addListener(new ActionListener() {
+ public void onResponse(RestoreCompletionResponse restoreCompletionResponse) {
+ if (restoreCompletionResponse.getRestoreInfo() == null && request.waitForCompletion()) {
+ final Snapshot snapshot = restoreCompletionResponse.getSnapshot();
+
+ ClusterStateListener clusterStateListener = new ClusterStateListener() {
@Override
- public void onResponse(RestoreService.RestoreCompletionResponse restoreCompletionResponse) {
- final Snapshot snapshot = restoreCompletionResponse.getSnapshot();
- if (snapshot.getRepository().equals(request.repository()) &&
- snapshot.getSnapshotId().getName().equals(request.snapshot())) {
- listener.onResponse(new RestoreSnapshotResponse(restoreCompletionResponse.getRestoreInfo()));
- restoreService.removeListener(this);
+ public void clusterChanged(ClusterChangedEvent changedEvent) {
+ final RestoreInProgress.Entry prevEntry = restoreInProgress(changedEvent.previousState(), snapshot);
+ final RestoreInProgress.Entry newEntry = restoreInProgress(changedEvent.state(), snapshot);
+ if (prevEntry == null) {
+ // When there is a master failure after a restore has been started, this listener might not be registered
+ // on the current master and as such it might miss some intermediary cluster states due to batching.
+ // Clean up listener in that case and acknowledge completion of restore operation to client.
+ clusterService.remove(this);
+ listener.onResponse(new RestoreSnapshotResponse(null));
+ } else if (newEntry == null) {
+ clusterService.remove(this);
+ ImmutableOpenMap shards = prevEntry.shards();
+ assert prevEntry.state().completed() : "expected completed snapshot state but was " + prevEntry.state();
+ assert RestoreService.completed(shards) : "expected all restore entries to be completed";
+ RestoreInfo ri = new RestoreInfo(prevEntry.snapshot().getSnapshotId().getName(),
+ prevEntry.indices(),
+ shards.size(),
+ shards.size() - RestoreService.failedShards(shards));
+ RestoreSnapshotResponse response = new RestoreSnapshotResponse(ri);
+ logger.debug("restore of [{}] completed", snapshot);
+ listener.onResponse(response);
+ } else {
+ // restore not completed yet, wait for next cluster state update
}
}
+ };
- @Override
- public void onFailure(Exception e) {
- listener.onFailure(e);
- }
- });
+ clusterService.addLast(clusterStateListener);
} else {
- listener.onResponse(new RestoreSnapshotResponse(restoreInfo));
+ listener.onResponse(new RestoreSnapshotResponse(restoreCompletionResponse.getRestoreInfo()));
}
}
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotIndexShardStage.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotIndexShardStage.java
index efbc82c9b6a..d96daa86f76 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotIndexShardStage.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotIndexShardStage.java
@@ -20,8 +20,6 @@
package org.elasticsearch.action.admin.cluster.snapshots.status;
-/**
- */
public enum SnapshotIndexShardStage {
/**
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotIndexShardStatus.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotIndexShardStatus.java
index a7cebca0aa6..462c5cadabd 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotIndexShardStatus.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotIndexShardStatus.java
@@ -29,8 +29,6 @@ import org.elasticsearch.index.snapshots.IndexShardSnapshotStatus;
import java.io.IOException;
-/**
- */
public class SnapshotIndexShardStatus extends BroadcastShardResponse implements ToXContent {
private SnapshotIndexShardStage stage = SnapshotIndexShardStage.INIT;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotStats.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotStats.java
index 2e0e3f993a1..a1eaaf9560a 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotStats.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotStats.java
@@ -28,8 +28,6 @@ import org.elasticsearch.index.snapshots.IndexShardSnapshotStatus;
import java.io.IOException;
-/**
- */
public class SnapshotStats implements Streamable, ToXContent {
private long startTime;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/TransportSnapshotsStatusAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/TransportSnapshotsStatusAction.java
index cf00784dc3f..c73ae48d070 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/TransportSnapshotsStatusAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/TransportSnapshotsStatusAction.java
@@ -56,8 +56,6 @@ import java.util.Set;
import java.util.function.Function;
import java.util.stream.Collectors;
-/**
- */
public class TransportSnapshotsStatusAction extends TransportMasterNodeAction {
private final SnapshotsService snapshotsService;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateAction.java
index 70786f99e0d..959658f6e7c 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.state;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ClusterStateAction extends Action {
public static final ClusterStateAction INSTANCE = new ClusterStateAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateRequest.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateRequest.java
index f5dc975f0a3..e6b468b804b 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateRequest.java
@@ -29,9 +29,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- *
- */
public class ClusterStateRequest extends MasterNodeReadRequest implements IndicesRequest.Replaceable {
private boolean routingTable = true;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateRequestBuilder.java
index e29798bb246..347a51afa13 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateRequestBuilder.java
@@ -23,9 +23,6 @@ import org.elasticsearch.action.support.IndicesOptions;
import org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class ClusterStateRequestBuilder extends MasterNodeReadOperationRequestBuilder {
public ClusterStateRequestBuilder(ElasticsearchClient client, ClusterStateAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateResponse.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateResponse.java
index 2a2f4707f69..f4d8b891b86 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateResponse.java
@@ -27,9 +27,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- *
- */
public class ClusterStateResponse extends ActionResponse {
private ClusterName clusterName;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/state/TransportClusterStateAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/state/TransportClusterStateAction.java
index a1b10c9c4f4..6c965cb3bbd 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/state/TransportClusterStateAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/state/TransportClusterStateAction.java
@@ -36,9 +36,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.threadpool.ThreadPool;
import org.elasticsearch.transport.TransportService;
-/**
- *
- */
public class TransportClusterStateAction extends TransportMasterNodeReadAction {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsAction.java
index 1cddf37ad31..80ae0b6911b 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.stats;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ClusterStatsAction extends Action {
public static final ClusterStatsAction INSTANCE = new ClusterStatsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsRequestBuilder.java
index db64dc94919..f05d998ee04 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsRequestBuilder.java
@@ -22,9 +22,6 @@ package org.elasticsearch.action.admin.cluster.stats;
import org.elasticsearch.action.support.nodes.NodesOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class ClusterStatsRequestBuilder extends NodesOperationRequestBuilder {
public ClusterStatsRequestBuilder(ElasticsearchClient client, ClusterStatsAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsResponse.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsResponse.java
index efc72d104f8..f71065b99a8 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsResponse.java
@@ -33,9 +33,6 @@ import java.io.IOException;
import java.util.List;
import java.util.Locale;
-/**
- *
- */
public class ClusterStatsResponse extends BaseNodesResponse implements ToXContent {
ClusterStatsNodes nodesStats;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/TransportClusterStatsAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/TransportClusterStatsAction.java
index 3eb73273832..c3665e6b77c 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/TransportClusterStatsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/stats/TransportClusterStatsAction.java
@@ -47,9 +47,6 @@ import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
-/**
- *
- */
public class TransportClusterStatsAction extends TransportNodesAction {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/DeleteStoredScriptAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/DeleteStoredScriptAction.java
index e7686387061..61cb8561ea5 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/DeleteStoredScriptAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/DeleteStoredScriptAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.storedscripts;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class DeleteStoredScriptAction extends Action {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/GetStoredScriptAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/GetStoredScriptAction.java
index 178598fad8b..7b9eb5209cc 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/GetStoredScriptAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/GetStoredScriptAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.storedscripts;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class GetStoredScriptAction extends Action {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/PutStoredScriptAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/PutStoredScriptAction.java
index 264d37a42e0..d01a12f58a2 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/PutStoredScriptAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/PutStoredScriptAction.java
@@ -23,8 +23,6 @@ import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class PutStoredScriptAction extends Action {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksAction.java
index 1e3eb3f6e81..0b420a4e505 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.tasks;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class PendingClusterTasksAction extends Action {
public static final PendingClusterTasksAction INSTANCE = new PendingClusterTasksAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksRequest.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksRequest.java
index 09f25feb90f..738276a9907 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksRequest.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.tasks;
import org.elasticsearch.action.ActionRequestValidationException;
import org.elasticsearch.action.support.master.MasterNodeReadRequest;
-/**
- */
public class PendingClusterTasksRequest extends MasterNodeReadRequest {
@Override
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksRequestBuilder.java
index 1392d973eb3..029ba7414ab 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksRequestBuilder.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.cluster.tasks;
import org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class PendingClusterTasksRequestBuilder extends MasterNodeReadOperationRequestBuilder {
public PendingClusterTasksRequestBuilder(ElasticsearchClient client, PendingClusterTasksAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksResponse.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksResponse.java
index 35d5b3efb7b..ae4a59fa83f 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksResponse.java
@@ -32,8 +32,6 @@ import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
-/**
- */
public class PendingClusterTasksResponse extends ActionResponse implements Iterable, ToXContent {
private List pendingTasks;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/TransportPendingClusterTasksAction.java b/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/TransportPendingClusterTasksAction.java
index 370b668f659..c15758de3cb 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/TransportPendingClusterTasksAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/cluster/tasks/TransportPendingClusterTasksAction.java
@@ -35,8 +35,6 @@ import org.elasticsearch.transport.TransportService;
import java.util.List;
-/**
- */
public class TransportPendingClusterTasksAction extends TransportMasterNodeReadAction {
private final ClusterService clusterService;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/IndicesAliasesAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/IndicesAliasesAction.java
index 3cf0ca574fb..d4045b8b22e 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/IndicesAliasesAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/IndicesAliasesAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.alias;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class IndicesAliasesAction extends Action {
public static final IndicesAliasesAction INSTANCE = new IndicesAliasesAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistAction.java
index 23dc1e13a56..70467f4343c 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistAction.java
@@ -23,8 +23,6 @@ import org.elasticsearch.action.Action;
import org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class AliasesExistAction extends Action {
public static final AliasesExistAction INSTANCE = new AliasesExistAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistRequestBuilder.java
index 40f421006e3..d889d15ce9c 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistRequestBuilder.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.alias.exists;
import org.elasticsearch.action.admin.indices.alias.get.BaseAliasesRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class AliasesExistRequestBuilder extends BaseAliasesRequestBuilder {
public AliasesExistRequestBuilder(ElasticsearchClient client, AliasesExistAction action, String... aliases) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistResponse.java b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistResponse.java
index 65474c8e8ab..2d430bf9820 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/AliasesExistResponse.java
@@ -25,8 +25,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- */
public class AliasesExistResponse extends ActionResponse {
private boolean exists;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/TransportAliasesExistAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/TransportAliasesExistAction.java
index 8ca09dbb67e..9a104598e8a 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/TransportAliasesExistAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/exists/TransportAliasesExistAction.java
@@ -32,8 +32,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.threadpool.ThreadPool;
import org.elasticsearch.transport.TransportService;
-/**
- */
public class TransportAliasesExistAction extends TransportMasterNodeReadAction {
@Inject
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/BaseAliasesRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/BaseAliasesRequestBuilder.java
index bcfdb0e10d8..f4e3868fda9 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/BaseAliasesRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/BaseAliasesRequestBuilder.java
@@ -26,8 +26,6 @@ import org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBui
import org.elasticsearch.client.ElasticsearchClient;
import org.elasticsearch.common.util.ArrayUtils;
-/**
- */
public abstract class BaseAliasesRequestBuilder> extends MasterNodeReadOperationRequestBuilder {
public BaseAliasesRequestBuilder(ElasticsearchClient client, Action action, String... aliases) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesAction.java
index 188f72e1e34..71badddacab 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.alias.get;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class GetAliasesAction extends Action {
public static final GetAliasesAction INSTANCE = new GetAliasesAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesRequest.java b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesRequest.java
index fd3a93b69d9..bcb887b8383 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesRequest.java
@@ -28,8 +28,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- */
public class GetAliasesRequest extends MasterNodeReadRequest implements AliasesRequest {
private String[] indices = Strings.EMPTY_ARRAY;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesRequestBuilder.java
index 4a6f9885008..fa7101eba5a 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesRequestBuilder.java
@@ -21,8 +21,6 @@ package org.elasticsearch.action.admin.indices.alias.get;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class GetAliasesRequestBuilder extends BaseAliasesRequestBuilder {
public GetAliasesRequestBuilder(ElasticsearchClient client, GetAliasesAction action, String... aliases) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesResponse.java b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesResponse.java
index e23faa1cbbf..85282788898 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesResponse.java
@@ -31,8 +31,6 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
-/**
- */
public class GetAliasesResponse extends ActionResponse {
private ImmutableOpenMap> aliases = ImmutableOpenMap.of();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/TransportGetAliasesAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/TransportGetAliasesAction.java
index 061f916c2e0..e871fc04f97 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/TransportGetAliasesAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/alias/get/TransportGetAliasesAction.java
@@ -35,8 +35,6 @@ import org.elasticsearch.transport.TransportService;
import java.util.List;
-/**
- */
public class TransportGetAliasesAction extends TransportMasterNodeReadAction {
@Inject
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeAction.java
index b29ba7507f8..5b92af47b37 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.analyze;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class AnalyzeAction extends Action {
public static final AnalyzeAction INSTANCE = new AnalyzeAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeRequestBuilder.java
index 78d06185423..344681b997e 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeRequestBuilder.java
@@ -23,9 +23,6 @@ import org.elasticsearch.client.ElasticsearchClient;
import java.util.Map;
-/**
- *
- */
public class AnalyzeRequestBuilder extends SingleShardOperationRequestBuilder {
public AnalyzeRequestBuilder(ElasticsearchClient client, AnalyzeAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeResponse.java b/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeResponse.java
index 48db340a1c7..302597e0e09 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/analyze/AnalyzeResponse.java
@@ -32,9 +32,6 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
-/**
- *
- */
public class AnalyzeResponse extends ActionResponse implements Iterable, ToXContent {
public static class AnalyzeToken implements Streamable, ToXContent {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheAction.java
index 0880c66802e..f8e35168bcb 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.cache.clear;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ClearIndicesCacheAction extends Action {
public static final ClearIndicesCacheAction INSTANCE = new ClearIndicesCacheAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheRequest.java b/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheRequest.java
index 3c068b7ad21..c9e04d53064 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheRequest.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- *
- */
public class ClearIndicesCacheRequest extends BroadcastRequest {
private boolean queryCache = false;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheRequestBuilder.java
index 8061ec89d92..8cfe3d7b909 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/ClearIndicesCacheRequestBuilder.java
@@ -22,9 +22,6 @@ package org.elasticsearch.action.admin.indices.cache.clear;
import org.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class ClearIndicesCacheRequestBuilder extends BroadcastOperationRequestBuilder {
public ClearIndicesCacheRequestBuilder(ElasticsearchClient client, ClearIndicesCacheAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/close/CloseIndexAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/close/CloseIndexAction.java
index fcb38b01da5..44151f2cfe9 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/close/CloseIndexAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/close/CloseIndexAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.close;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class CloseIndexAction extends Action {
public static final CloseIndexAction INSTANCE = new CloseIndexAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/create/CreateIndexAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/create/CreateIndexAction.java
index aa3d3ac92ad..3bac77241bf 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/create/CreateIndexAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/create/CreateIndexAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.create;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class CreateIndexAction extends Action {
public static final CreateIndexAction INSTANCE = new CreateIndexAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/delete/DeleteIndexAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/delete/DeleteIndexAction.java
index 135aacc197b..2dcff890f3e 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/delete/DeleteIndexAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/delete/DeleteIndexAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.delete;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class DeleteIndexAction extends Action {
public static final DeleteIndexAction INSTANCE = new DeleteIndexAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/delete/DeleteIndexRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/delete/DeleteIndexRequestBuilder.java
index 9e5dc88b983..a75bcd77748 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/delete/DeleteIndexRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/delete/DeleteIndexRequestBuilder.java
@@ -24,9 +24,6 @@ import org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder
import org.elasticsearch.client.ElasticsearchClient;
import org.elasticsearch.common.unit.TimeValue;
-/**
- *
- */
public class DeleteIndexRequestBuilder extends MasterNodeOperationRequestBuilder {
public DeleteIndexRequestBuilder(ElasticsearchClient client, DeleteIndexAction action, String... indices) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/exists/indices/IndicesExistsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/exists/indices/IndicesExistsAction.java
index b9bfa00d7a2..aaabcec516b 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/exists/indices/IndicesExistsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/exists/indices/IndicesExistsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.exists.indices;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class IndicesExistsAction extends Action {
public static final IndicesExistsAction INSTANCE = new IndicesExistsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/exists/indices/IndicesExistsRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/exists/indices/IndicesExistsRequestBuilder.java
index 5f01c26b325..183648b5dd9 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/exists/indices/IndicesExistsRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/exists/indices/IndicesExistsRequestBuilder.java
@@ -23,9 +23,6 @@ import org.elasticsearch.action.support.IndicesOptions;
import org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class IndicesExistsRequestBuilder extends MasterNodeReadOperationRequestBuilder {
public IndicesExistsRequestBuilder(ElasticsearchClient client, IndicesExistsAction action, String... indices) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsAction.java
index b7fea539d13..147d7b8f1ab 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsAction.java
@@ -21,8 +21,6 @@ package org.elasticsearch.action.admin.indices.exists.types;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class TypesExistsAction extends Action {
public static final TypesExistsAction INSTANCE = new TypesExistsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsRequest.java b/core/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsRequest.java
index 9aba8ec44ed..0e099da8488 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/exists/types/TypesExistsRequest.java
@@ -29,8 +29,6 @@ import java.io.IOException;
import static org.elasticsearch.action.ValidateActions.addValidationError;
-/**
- */
public class TypesExistsRequest extends MasterNodeReadRequest implements IndicesRequest.Replaceable {
private String[] indices;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/flush/FlushAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/flush/FlushAction.java
index 4cc116fd1dd..1812cfae1a7 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/flush/FlushAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/flush/FlushAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.flush;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class FlushAction extends Action {
public static final FlushAction INSTANCE = new FlushAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/flush/FlushRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/flush/FlushRequestBuilder.java
index 39a80fd3ca5..bddf5ce0449 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/flush/FlushRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/flush/FlushRequestBuilder.java
@@ -22,9 +22,6 @@ package org.elasticsearch.action.admin.indices.flush;
import org.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class FlushRequestBuilder extends BroadcastOperationRequestBuilder {
public FlushRequestBuilder(ElasticsearchClient client, FlushAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/flush/TransportShardFlushAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/flush/TransportShardFlushAction.java
index 7911b4e1e36..1ec7186393f 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/flush/TransportShardFlushAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/flush/TransportShardFlushAction.java
@@ -33,9 +33,6 @@ import org.elasticsearch.indices.IndicesService;
import org.elasticsearch.threadpool.ThreadPool;
import org.elasticsearch.transport.TransportService;
-/**
- *
- */
public class TransportShardFlushAction extends TransportReplicationAction {
public static final String NAME = FlushAction.NAME + "[s]";
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/forcemerge/ForceMergeAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/forcemerge/ForceMergeAction.java
index 705fc6bc9db..656c5b91a70 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/forcemerge/ForceMergeAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/forcemerge/ForceMergeAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.forcemerge;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ForceMergeAction extends Action {
public static final ForceMergeAction INSTANCE = new ForceMergeAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/get/GetIndexAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/get/GetIndexAction.java
index 74111c82b2f..f692c1e0263 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/get/GetIndexAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/get/GetIndexAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.get;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class GetIndexAction extends Action {
public static final GetIndexAction INSTANCE = new GetIndexAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/get/GetIndexRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/get/GetIndexRequestBuilder.java
index 7ffc8533aac..677bbeee485 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/get/GetIndexRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/get/GetIndexRequestBuilder.java
@@ -23,9 +23,6 @@ import org.elasticsearch.action.admin.indices.get.GetIndexRequest.Feature;
import org.elasticsearch.action.support.master.info.ClusterInfoRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class GetIndexRequestBuilder extends ClusterInfoRequestBuilder {
public GetIndexRequestBuilder(ElasticsearchClient client, GetIndexAction action, String... indices) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetFieldMappingsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetFieldMappingsAction.java
index 520ed7b2cd4..410292ca688 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetFieldMappingsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetFieldMappingsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.mapping.get;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class GetFieldMappingsAction extends Action {
public static final GetFieldMappingsAction INSTANCE = new GetFieldMappingsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsAction.java
index d7dbebc600c..5a9425cadec 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.mapping.get;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class GetMappingsAction extends Action {
public static final GetMappingsAction INSTANCE = new GetMappingsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsRequest.java b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsRequest.java
index 15222cf83d7..dc4836286cd 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsRequest.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.mapping.get;
import org.elasticsearch.action.ActionRequestValidationException;
import org.elasticsearch.action.support.master.info.ClusterInfoRequest;
-/**
- */
public class GetMappingsRequest extends ClusterInfoRequest {
@Override
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsRequestBuilder.java
index 0471a29c82f..7ecb6713953 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsRequestBuilder.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.mapping.get;
import org.elasticsearch.action.support.master.info.ClusterInfoRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class GetMappingsRequestBuilder extends ClusterInfoRequestBuilder {
public GetMappingsRequestBuilder(ElasticsearchClient client, GetMappingsAction action, String... indices) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsResponse.java b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsResponse.java
index 30e9e24c493..e092f1f148d 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetMappingsResponse.java
@@ -28,8 +28,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- */
public class GetMappingsResponse extends ActionResponse {
private ImmutableOpenMap> mappings = ImmutableOpenMap.of();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetFieldMappingsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetFieldMappingsAction.java
index a69dd2ed437..8729b60e3bf 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetFieldMappingsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetFieldMappingsAction.java
@@ -37,8 +37,6 @@ import java.util.concurrent.atomic.AtomicReferenceArray;
import static java.util.Collections.unmodifiableMap;
-/**
- */
public class TransportGetFieldMappingsAction extends HandledTransportAction {
private final ClusterService clusterService;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetMappingsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetMappingsAction.java
index 293f5a0e677..363e935ca56 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetMappingsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetMappingsAction.java
@@ -34,8 +34,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.threadpool.ThreadPool;
import org.elasticsearch.transport.TransportService;
-/**
- */
public class TransportGetMappingsAction extends TransportClusterInfoAction {
@Inject
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/put/PutMappingAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/put/PutMappingAction.java
index 5ed79ceca98..5bcff09e01a 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/put/PutMappingAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/mapping/put/PutMappingAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.mapping.put;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class PutMappingAction extends Action {
public static final PutMappingAction INSTANCE = new PutMappingAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/open/OpenIndexAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/open/OpenIndexAction.java
index c12e8d23c9c..c8553322d30 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/open/OpenIndexAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/open/OpenIndexAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.open;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class OpenIndexAction extends Action {
public static final OpenIndexAction INSTANCE = new OpenIndexAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/rollover/RolloverAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/rollover/RolloverAction.java
index dd9d50dac73..f66c77968f1 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/rollover/RolloverAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/rollover/RolloverAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.rollover;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class RolloverAction extends Action {
public static final RolloverAction INSTANCE = new RolloverAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/segments/IndicesSegmentsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/segments/IndicesSegmentsAction.java
index d98bc56aa5c..a8cc79852c2 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/segments/IndicesSegmentsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/segments/IndicesSegmentsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.segments;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class IndicesSegmentsAction extends Action {
public static final IndicesSegmentsAction INSTANCE = new IndicesSegmentsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/segments/IndicesSegmentsRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/segments/IndicesSegmentsRequestBuilder.java
index d839e2a25c3..ce4a5705168 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/segments/IndicesSegmentsRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/segments/IndicesSegmentsRequestBuilder.java
@@ -22,9 +22,6 @@ package org.elasticsearch.action.admin.indices.segments;
import org.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class IndicesSegmentsRequestBuilder extends BroadcastOperationRequestBuilder {
public IndicesSegmentsRequestBuilder(ElasticsearchClient client, IndicesSegmentsAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/segments/TransportIndicesSegmentsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/segments/TransportIndicesSegmentsAction.java
index 8df46719c7b..350e8dffa19 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/segments/TransportIndicesSegmentsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/segments/TransportIndicesSegmentsAction.java
@@ -41,9 +41,6 @@ import org.elasticsearch.transport.TransportService;
import java.io.IOException;
import java.util.List;
-/**
- *
- */
public class TransportIndicesSegmentsAction extends TransportBroadcastByNodeAction {
private final IndicesService indicesService;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsAction.java
index 448a5e25fbd..1abf8e746fb 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.settings.get;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class GetSettingsAction extends Action {
public static final GetSettingsAction INSTANCE = new GetSettingsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsRequest.java b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsRequest.java
index eb981491e52..d15da04acab 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsRequest.java
@@ -30,8 +30,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- */
public class GetSettingsRequest extends MasterNodeReadRequest implements IndicesRequest.Replaceable {
private String[] indices = Strings.EMPTY_ARRAY;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsRequestBuilder.java
index 5a2ca7aef15..2fff2eca0c2 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsRequestBuilder.java
@@ -24,8 +24,6 @@ import org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBui
import org.elasticsearch.client.ElasticsearchClient;
import org.elasticsearch.common.util.ArrayUtils;
-/**
- */
public class GetSettingsRequestBuilder extends MasterNodeReadOperationRequestBuilder {
public GetSettingsRequestBuilder(ElasticsearchClient client, GetSettingsAction action, String... indices) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsResponse.java b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsResponse.java
index c45c7d9f545..0a3229dcaf1 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsResponse.java
@@ -28,8 +28,6 @@ import org.elasticsearch.common.settings.Settings;
import java.io.IOException;
-/**
- */
public class GetSettingsResponse extends ActionResponse {
private ImmutableOpenMap indexToSettings = ImmutableOpenMap.of();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/TransportGetSettingsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/TransportGetSettingsAction.java
index f09d3fb559c..6e6d3eaee98 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/TransportGetSettingsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/get/TransportGetSettingsAction.java
@@ -40,8 +40,6 @@ import org.elasticsearch.transport.TransportService;
import java.util.Map;
-/**
- */
public class TransportGetSettingsAction extends TransportMasterNodeReadAction {
private final SettingsFilter settingsFilter;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/put/TransportUpdateSettingsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/put/TransportUpdateSettingsAction.java
index f9ebff06636..67099b4d100 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/put/TransportUpdateSettingsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/put/TransportUpdateSettingsAction.java
@@ -38,9 +38,6 @@ import org.elasticsearch.index.Index;
import org.elasticsearch.threadpool.ThreadPool;
import org.elasticsearch.transport.TransportService;
-/**
- *
- */
public class TransportUpdateSettingsAction extends TransportMasterNodeAction {
private final MetaDataUpdateSettingsService updateSettingsService;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/put/UpdateSettingsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/put/UpdateSettingsAction.java
index 17001b7376d..a23874831c2 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/settings/put/UpdateSettingsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/settings/put/UpdateSettingsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.settings.put;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class UpdateSettingsAction extends Action {
public static final UpdateSettingsAction INSTANCE = new UpdateSettingsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/shrink/ShrinkAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/shrink/ShrinkAction.java
index 4c09241ad75..8b5b4670e3c 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/shrink/ShrinkAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/shrink/ShrinkAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.shrink;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ShrinkAction extends Action {
public static final ShrinkAction INSTANCE = new ShrinkAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndexShardStats.java b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndexShardStats.java
index dd4cc640a3d..6cdcabccbc4 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndexShardStats.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndexShardStats.java
@@ -28,8 +28,6 @@ import java.io.IOException;
import java.util.Arrays;
import java.util.Iterator;
-/**
- */
public class IndexShardStats implements Iterable, Streamable {
private ShardId shardId;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndexStats.java b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndexStats.java
index f13b714c284..7903a340628 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndexStats.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndexStats.java
@@ -25,8 +25,6 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
-/**
- */
public class IndexStats implements Iterable {
private final String index;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndicesStatsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndicesStatsAction.java
index d83e368b216..1bf17115afb 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndicesStatsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndicesStatsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.stats;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class IndicesStatsAction extends Action {
public static final IndicesStatsAction INSTANCE = new IndicesStatsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndicesStatsResponse.java b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndicesStatsResponse.java
index 2caa0da9569..3cbd7db66aa 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndicesStatsResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/IndicesStatsResponse.java
@@ -38,8 +38,6 @@ import java.util.Set;
import static java.util.Collections.unmodifiableMap;
-/**
- */
public class IndicesStatsResponse extends BroadcastResponse implements ToXContent {
private ShardStats[] shards;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/ShardStats.java b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/ShardStats.java
index 5bc6ce81064..872f35677ec 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/ShardStats.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/ShardStats.java
@@ -31,8 +31,6 @@ import org.elasticsearch.index.shard.ShardPath;
import java.io.IOException;
-/**
- */
public class ShardStats implements Streamable, ToXContent {
private ShardRouting shardRouting;
private CommonStats commonStats;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/TransportIndicesStatsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/TransportIndicesStatsAction.java
index 7e8ccd30a8a..42f13aa6daa 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/stats/TransportIndicesStatsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/stats/TransportIndicesStatsAction.java
@@ -42,8 +42,6 @@ import org.elasticsearch.transport.TransportService;
import java.io.IOException;
import java.util.List;
-/**
- */
public class TransportIndicesStatsAction extends TransportBroadcastByNodeAction {
private final IndicesService indicesService;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateAction.java
index 570ced293d8..3d871db3f4b 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.template.delete;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class DeleteIndexTemplateAction extends Action {
public static final DeleteIndexTemplateAction INSTANCE = new DeleteIndexTemplateAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateRequestBuilder.java
index 670837e8047..620c432fe98 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/template/delete/DeleteIndexTemplateRequestBuilder.java
@@ -21,9 +21,6 @@ package org.elasticsearch.action.admin.indices.template.delete;
import org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class DeleteIndexTemplateRequestBuilder extends MasterNodeOperationRequestBuilder {
public DeleteIndexTemplateRequestBuilder(ElasticsearchClient client, DeleteIndexTemplateAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesAction.java
index b4db5e0529f..545601f0108 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesAction.java
@@ -21,9 +21,6 @@ package org.elasticsearch.action.admin.indices.template.get;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class GetIndexTemplatesAction extends Action {
public static final GetIndexTemplatesAction INSTANCE = new GetIndexTemplatesAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesRequestBuilder.java
index 93e02be2ec7..5068f11a0d2 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/GetIndexTemplatesRequestBuilder.java
@@ -21,9 +21,6 @@ package org.elasticsearch.action.admin.indices.template.get;
import org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class GetIndexTemplatesRequestBuilder extends MasterNodeReadOperationRequestBuilder {
public GetIndexTemplatesRequestBuilder(ElasticsearchClient client, GetIndexTemplatesAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/TransportGetIndexTemplatesAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/TransportGetIndexTemplatesAction.java
index 672ca1a9080..294550c9a62 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/TransportGetIndexTemplatesAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/template/get/TransportGetIndexTemplatesAction.java
@@ -38,9 +38,6 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-/**
- *
- */
public class TransportGetIndexTemplatesAction extends TransportMasterNodeReadAction {
@Inject
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateAction.java
index 51adc0b5cfc..a442b5463ba 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.template.put;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class PutIndexTemplateAction extends Action {
public static final PutIndexTemplateAction INSTANCE = new PutIndexTemplateAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateRequestBuilder.java
index 8acc2b3f610..77343277f63 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateRequestBuilder.java
@@ -27,9 +27,6 @@ import org.elasticsearch.common.xcontent.XContentBuilder;
import java.util.Map;
-/**
- *
- */
public class PutIndexTemplateRequestBuilder
extends MasterNodeOperationRequestBuilder {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/TransportUpgradeStatusAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/TransportUpgradeStatusAction.java
index cf288e0cc6f..c2c4424d4c8 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/TransportUpgradeStatusAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/TransportUpgradeStatusAction.java
@@ -43,9 +43,6 @@ import org.elasticsearch.transport.TransportService;
import java.io.IOException;
import java.util.List;
-/**
- *
- */
public class TransportUpgradeStatusAction extends TransportBroadcastByNodeAction {
private final IndicesService indicesService;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/UpgradeStatusAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/UpgradeStatusAction.java
index e0318b13b97..98c4ea68d88 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/UpgradeStatusAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/UpgradeStatusAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.upgrade.get;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class UpgradeStatusAction extends Action {
public static final UpgradeStatusAction INSTANCE = new UpgradeStatusAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/UpgradeStatusRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/UpgradeStatusRequestBuilder.java
index 98dd1c1828d..cee5bdcabe5 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/UpgradeStatusRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/get/UpgradeStatusRequestBuilder.java
@@ -22,9 +22,6 @@ package org.elasticsearch.action.admin.indices.upgrade.get;
import org.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- *
- */
public class UpgradeStatusRequestBuilder extends BroadcastOperationRequestBuilder {
public UpgradeStatusRequestBuilder(ElasticsearchClient client, UpgradeStatusAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/ShardUpgradeRequest.java b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/ShardUpgradeRequest.java
index 550a5b15f66..6929a5ab544 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/ShardUpgradeRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/ShardUpgradeRequest.java
@@ -27,9 +27,6 @@ import org.elasticsearch.index.shard.ShardId;
import java.io.IOException;
-/**
- *
- */
public final class ShardUpgradeRequest extends BroadcastShardRequest {
private UpgradeRequest request = new UpgradeRequest();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/ShardUpgradeResult.java b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/ShardUpgradeResult.java
index 46c51757159..cca5a812c3e 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/ShardUpgradeResult.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/ShardUpgradeResult.java
@@ -28,9 +28,6 @@ import org.elasticsearch.index.shard.ShardId;
import java.io.IOException;
import java.text.ParseException;
-/**
- *
- */
class ShardUpgradeResult implements Streamable {
private ShardId shardId;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/TransportUpgradeSettingsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/TransportUpgradeSettingsAction.java
index f467c6ae749..02d58a9db7e 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/TransportUpgradeSettingsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/TransportUpgradeSettingsAction.java
@@ -36,9 +36,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.threadpool.ThreadPool;
import org.elasticsearch.transport.TransportService;
-/**
- *
- */
public class TransportUpgradeSettingsAction extends TransportMasterNodeAction {
private final MetaDataUpdateSettingsService updateSettingsService;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/UpgradeSettingsAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/UpgradeSettingsAction.java
index 5257b50132d..54632261ef4 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/UpgradeSettingsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/upgrade/post/UpgradeSettingsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.upgrade.post;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class UpgradeSettingsAction extends Action {
public static final UpgradeSettingsAction INSTANCE = new UpgradeSettingsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/QueryExplanation.java b/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/QueryExplanation.java
index ea145ba15bc..6da503ef828 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/QueryExplanation.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/QueryExplanation.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.io.stream.Streamable;
import java.io.IOException;
-/**
- *
- */
public class QueryExplanation implements Streamable {
private String index;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/TransportValidateQueryAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/TransportValidateQueryAction.java
index 773b4f7ad40..25ced69f03a 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/TransportValidateQueryAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/TransportValidateQueryAction.java
@@ -56,9 +56,6 @@ import java.util.Map;
import java.util.Set;
import java.util.concurrent.atomic.AtomicReferenceArray;
-/**
- *
- */
public class TransportValidateQueryAction extends TransportBroadcastAction {
private final SearchService searchService;
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/ValidateQueryAction.java b/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/ValidateQueryAction.java
index fdec5490c97..51791062c83 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/ValidateQueryAction.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/ValidateQueryAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.admin.indices.validate.query;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ValidateQueryAction extends Action {
public static final ValidateQueryAction INSTANCE = new ValidateQueryAction();
diff --git a/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/ValidateQueryRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/ValidateQueryRequestBuilder.java
index bfee7ec6b99..8e377968980 100644
--- a/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/ValidateQueryRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/admin/indices/validate/query/ValidateQueryRequestBuilder.java
@@ -23,9 +23,6 @@ import org.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuild
import org.elasticsearch.client.ElasticsearchClient;
import org.elasticsearch.index.query.QueryBuilder;
-/**
- *
- */
public class ValidateQueryRequestBuilder extends BroadcastOperationRequestBuilder {
public ValidateQueryRequestBuilder(ElasticsearchClient client, ValidateQueryAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/bulk/BulkAction.java b/core/src/main/java/org/elasticsearch/action/bulk/BulkAction.java
index e442f61061a..d4aba69c343 100644
--- a/core/src/main/java/org/elasticsearch/action/bulk/BulkAction.java
+++ b/core/src/main/java/org/elasticsearch/action/bulk/BulkAction.java
@@ -24,8 +24,6 @@ import org.elasticsearch.client.ElasticsearchClient;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.transport.TransportRequestOptions;
-/**
- */
public class BulkAction extends Action {
public static final BulkAction INSTANCE = new BulkAction();
diff --git a/core/src/main/java/org/elasticsearch/action/bulk/BulkItemRequest.java b/core/src/main/java/org/elasticsearch/action/bulk/BulkItemRequest.java
index 07d43342b9c..987aa36585b 100644
--- a/core/src/main/java/org/elasticsearch/action/bulk/BulkItemRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/bulk/BulkItemRequest.java
@@ -26,9 +26,6 @@ import org.elasticsearch.common.io.stream.Streamable;
import java.io.IOException;
-/**
- *
- */
public class BulkItemRequest implements Streamable {
private int id;
diff --git a/core/src/main/java/org/elasticsearch/action/bulk/BulkShardRequest.java b/core/src/main/java/org/elasticsearch/action/bulk/BulkShardRequest.java
index b9d7f876dc1..25366d034ca 100644
--- a/core/src/main/java/org/elasticsearch/action/bulk/BulkShardRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/bulk/BulkShardRequest.java
@@ -29,9 +29,6 @@ import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
-/**
- *
- */
public class BulkShardRequest extends ReplicatedWriteRequest {
private BulkItemRequest[] items;
diff --git a/core/src/main/java/org/elasticsearch/action/bulk/BulkShardResponse.java b/core/src/main/java/org/elasticsearch/action/bulk/BulkShardResponse.java
index 22260181bb1..b51ce624800 100644
--- a/core/src/main/java/org/elasticsearch/action/bulk/BulkShardResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/bulk/BulkShardResponse.java
@@ -28,9 +28,6 @@ import org.elasticsearch.index.shard.ShardId;
import java.io.IOException;
-/**
- *
- */
public class BulkShardResponse extends ReplicationResponse implements WriteResponse {
private ShardId shardId;
diff --git a/core/src/main/java/org/elasticsearch/action/delete/DeleteAction.java b/core/src/main/java/org/elasticsearch/action/delete/DeleteAction.java
index 2e9fccf7a1f..09aa9f58656 100644
--- a/core/src/main/java/org/elasticsearch/action/delete/DeleteAction.java
+++ b/core/src/main/java/org/elasticsearch/action/delete/DeleteAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.delete;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class DeleteAction extends Action {
public static final DeleteAction INSTANCE = new DeleteAction();
diff --git a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsAction.java b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsAction.java
index 085952c9be6..2c51e918497 100644
--- a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.fieldstats;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class FieldStatsAction extends Action {
public static final FieldStatsAction INSTANCE = new FieldStatsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsRequest.java b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsRequest.java
index d0b40374d6b..4137c4cd1c2 100644
--- a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsRequest.java
@@ -35,8 +35,6 @@ import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
-/**
- */
public class FieldStatsRequest extends BroadcastRequest {
public static final String DEFAULT_LEVEL = "cluster";
diff --git a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsRequestBuilder.java
index 1a3a8070e46..7f9a744df83 100644
--- a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsRequestBuilder.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.fieldstats;
import org.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class FieldStatsRequestBuilder extends
BroadcastOperationRequestBuilder {
diff --git a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsResponse.java b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsResponse.java
index 14e2f13d4ff..10928dc9a78 100644
--- a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsResponse.java
@@ -30,8 +30,6 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
-/**
- */
public class FieldStatsResponse extends BroadcastResponse {
private Map> indicesMergedFieldStats;
private Map conflicts;
diff --git a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsShardRequest.java b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsShardRequest.java
index 85a0d469541..3844895bc24 100644
--- a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsShardRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsShardRequest.java
@@ -29,8 +29,6 @@ import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
-/**
- */
public class FieldStatsShardRequest extends BroadcastShardRequest {
private String[] fields;
diff --git a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsShardResponse.java b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsShardResponse.java
index 7cc298729f0..d94cfcd2958 100644
--- a/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsShardResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/fieldstats/FieldStatsShardResponse.java
@@ -28,8 +28,6 @@ import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
-/**
- */
public class FieldStatsShardResponse extends BroadcastShardResponse {
private Map> fieldStats;
diff --git a/core/src/main/java/org/elasticsearch/action/get/GetAction.java b/core/src/main/java/org/elasticsearch/action/get/GetAction.java
index eb499ffb8c2..69c67b1be2b 100644
--- a/core/src/main/java/org/elasticsearch/action/get/GetAction.java
+++ b/core/src/main/java/org/elasticsearch/action/get/GetAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.get;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class GetAction extends Action {
public static final GetAction INSTANCE = new GetAction();
diff --git a/core/src/main/java/org/elasticsearch/action/get/MultiGetAction.java b/core/src/main/java/org/elasticsearch/action/get/MultiGetAction.java
index 38036d391e8..8d6dfc10775 100644
--- a/core/src/main/java/org/elasticsearch/action/get/MultiGetAction.java
+++ b/core/src/main/java/org/elasticsearch/action/get/MultiGetAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.get;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class MultiGetAction extends Action {
public static final MultiGetAction INSTANCE = new MultiGetAction();
diff --git a/core/src/main/java/org/elasticsearch/action/index/IndexAction.java b/core/src/main/java/org/elasticsearch/action/index/IndexAction.java
index ceacbcf2df7..fa2bd06f297 100644
--- a/core/src/main/java/org/elasticsearch/action/index/IndexAction.java
+++ b/core/src/main/java/org/elasticsearch/action/index/IndexAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.index;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class IndexAction extends Action {
public static final IndexAction INSTANCE = new IndexAction();
diff --git a/core/src/main/java/org/elasticsearch/action/search/ClearScrollAction.java b/core/src/main/java/org/elasticsearch/action/search/ClearScrollAction.java
index 6523378df4d..151635ac93f 100644
--- a/core/src/main/java/org/elasticsearch/action/search/ClearScrollAction.java
+++ b/core/src/main/java/org/elasticsearch/action/search/ClearScrollAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.search;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class ClearScrollAction extends Action {
public static final ClearScrollAction INSTANCE = new ClearScrollAction();
diff --git a/core/src/main/java/org/elasticsearch/action/search/ClearScrollRequest.java b/core/src/main/java/org/elasticsearch/action/search/ClearScrollRequest.java
index 17343e86912..f2f26d655d3 100644
--- a/core/src/main/java/org/elasticsearch/action/search/ClearScrollRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/search/ClearScrollRequest.java
@@ -31,8 +31,6 @@ import java.util.List;
import static org.elasticsearch.action.ValidateActions.addValidationError;
-/**
- */
public class ClearScrollRequest extends ActionRequest {
private List scrollIds;
diff --git a/core/src/main/java/org/elasticsearch/action/search/ClearScrollRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/search/ClearScrollRequestBuilder.java
index 6dac0c4b3b3..b1ca4a60a85 100644
--- a/core/src/main/java/org/elasticsearch/action/search/ClearScrollRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/search/ClearScrollRequestBuilder.java
@@ -24,8 +24,6 @@ import org.elasticsearch.client.ElasticsearchClient;
import java.util.List;
-/**
- */
public class ClearScrollRequestBuilder extends ActionRequestBuilder {
public ClearScrollRequestBuilder(ElasticsearchClient client, ClearScrollAction action) {
diff --git a/core/src/main/java/org/elasticsearch/action/search/ClearScrollResponse.java b/core/src/main/java/org/elasticsearch/action/search/ClearScrollResponse.java
index 0887d268199..ff8314acce5 100644
--- a/core/src/main/java/org/elasticsearch/action/search/ClearScrollResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/search/ClearScrollResponse.java
@@ -31,8 +31,6 @@ import java.io.IOException;
import static org.elasticsearch.rest.RestStatus.NOT_FOUND;
import static org.elasticsearch.rest.RestStatus.OK;
-/**
- */
public class ClearScrollResponse extends ActionResponse implements StatusToXContent {
private boolean succeeded;
diff --git a/core/src/main/java/org/elasticsearch/action/search/MultiSearchAction.java b/core/src/main/java/org/elasticsearch/action/search/MultiSearchAction.java
index ffa0a4b63f0..04651c00c02 100644
--- a/core/src/main/java/org/elasticsearch/action/search/MultiSearchAction.java
+++ b/core/src/main/java/org/elasticsearch/action/search/MultiSearchAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.search;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class MultiSearchAction extends Action {
public static final MultiSearchAction INSTANCE = new MultiSearchAction();
diff --git a/core/src/main/java/org/elasticsearch/action/search/ParsedScrollId.java b/core/src/main/java/org/elasticsearch/action/search/ParsedScrollId.java
index 2ddb35e1357..f2ea5356106 100644
--- a/core/src/main/java/org/elasticsearch/action/search/ParsedScrollId.java
+++ b/core/src/main/java/org/elasticsearch/action/search/ParsedScrollId.java
@@ -19,9 +19,6 @@
package org.elasticsearch.action.search;
-/**
- *
- */
class ParsedScrollId {
public static final String QUERY_THEN_FETCH_TYPE = "queryThenFetch";
diff --git a/core/src/main/java/org/elasticsearch/action/search/SearchAction.java b/core/src/main/java/org/elasticsearch/action/search/SearchAction.java
index 501fe1afb76..38a77fa772a 100644
--- a/core/src/main/java/org/elasticsearch/action/search/SearchAction.java
+++ b/core/src/main/java/org/elasticsearch/action/search/SearchAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.search;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class SearchAction extends Action {
public static final SearchAction INSTANCE = new SearchAction();
diff --git a/core/src/main/java/org/elasticsearch/action/search/SearchPhaseController.java b/core/src/main/java/org/elasticsearch/action/search/SearchPhaseController.java
index 7306e645e0d..58b2a7d4aa8 100644
--- a/core/src/main/java/org/elasticsearch/action/search/SearchPhaseController.java
+++ b/core/src/main/java/org/elasticsearch/action/search/SearchPhaseController.java
@@ -70,9 +70,6 @@ import java.util.Map;
import java.util.stream.Collectors;
import java.util.stream.StreamSupport;
-/**
- *
- */
public class SearchPhaseController extends AbstractComponent {
public static final Comparator> QUERY_RESULT_ORDERING = (o1, o2) -> {
diff --git a/core/src/main/java/org/elasticsearch/action/search/SearchScrollAction.java b/core/src/main/java/org/elasticsearch/action/search/SearchScrollAction.java
index eccfa0526a1..6bd23f7741a 100644
--- a/core/src/main/java/org/elasticsearch/action/search/SearchScrollAction.java
+++ b/core/src/main/java/org/elasticsearch/action/search/SearchScrollAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.search;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class SearchScrollAction extends Action {
public static final SearchScrollAction INSTANCE = new SearchScrollAction();
diff --git a/core/src/main/java/org/elasticsearch/action/search/SearchScrollRequest.java b/core/src/main/java/org/elasticsearch/action/search/SearchScrollRequest.java
index 9ab2a4cf560..eff033a7600 100644
--- a/core/src/main/java/org/elasticsearch/action/search/SearchScrollRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/search/SearchScrollRequest.java
@@ -31,9 +31,6 @@ import java.util.Objects;
import static org.elasticsearch.action.ValidateActions.addValidationError;
-/**
- *
- */
public class SearchScrollRequest extends ActionRequest {
private String scrollId;
diff --git a/core/src/main/java/org/elasticsearch/action/search/TransportSearchHelper.java b/core/src/main/java/org/elasticsearch/action/search/TransportSearchHelper.java
index db42527b125..dcccf7e735f 100644
--- a/core/src/main/java/org/elasticsearch/action/search/TransportSearchHelper.java
+++ b/core/src/main/java/org/elasticsearch/action/search/TransportSearchHelper.java
@@ -30,9 +30,6 @@ import org.elasticsearch.search.internal.ShardSearchTransportRequest;
import java.io.IOException;
import java.util.Base64;
-/**
- *
- */
final class TransportSearchHelper {
static ShardSearchTransportRequest internalSearchRequest(ShardRouting shardRouting, int numberOfShards, SearchRequest request,
diff --git a/core/src/main/java/org/elasticsearch/action/search/TransportSearchScrollAction.java b/core/src/main/java/org/elasticsearch/action/search/TransportSearchScrollAction.java
index 9d2307f1b4f..71f3b6239d9 100644
--- a/core/src/main/java/org/elasticsearch/action/search/TransportSearchScrollAction.java
+++ b/core/src/main/java/org/elasticsearch/action/search/TransportSearchScrollAction.java
@@ -35,9 +35,6 @@ import static org.elasticsearch.action.search.ParsedScrollId.QUERY_AND_FETCH_TYP
import static org.elasticsearch.action.search.ParsedScrollId.QUERY_THEN_FETCH_TYPE;
import static org.elasticsearch.action.search.TransportSearchHelper.parseScrollId;
-/**
- *
- */
public class TransportSearchScrollAction extends HandledTransportAction {
private final ClusterService clusterService;
diff --git a/core/src/main/java/org/elasticsearch/action/support/AbstractListenableActionFuture.java b/core/src/main/java/org/elasticsearch/action/support/AbstractListenableActionFuture.java
index ee260ddd1e1..d6e06613d59 100644
--- a/core/src/main/java/org/elasticsearch/action/support/AbstractListenableActionFuture.java
+++ b/core/src/main/java/org/elasticsearch/action/support/AbstractListenableActionFuture.java
@@ -28,9 +28,6 @@ import org.elasticsearch.threadpool.ThreadPool;
import java.util.ArrayList;
import java.util.List;
-/**
- *
- */
public abstract class AbstractListenableActionFuture extends AdapterActionFuture implements ListenableActionFuture {
private static final Logger logger = Loggers.getLogger(AbstractListenableActionFuture.class);
diff --git a/core/src/main/java/org/elasticsearch/action/support/AdapterActionFuture.java b/core/src/main/java/org/elasticsearch/action/support/AdapterActionFuture.java
index eab486f4929..b2167c3051b 100644
--- a/core/src/main/java/org/elasticsearch/action/support/AdapterActionFuture.java
+++ b/core/src/main/java/org/elasticsearch/action/support/AdapterActionFuture.java
@@ -31,9 +31,6 @@ import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
-/**
- *
- */
public abstract class AdapterActionFuture extends BaseFuture implements ActionFuture, ActionListener {
@Override
diff --git a/core/src/main/java/org/elasticsearch/action/support/DefaultShardOperationFailedException.java b/core/src/main/java/org/elasticsearch/action/support/DefaultShardOperationFailedException.java
index 0fe3be1ad63..3f7df803e24 100644
--- a/core/src/main/java/org/elasticsearch/action/support/DefaultShardOperationFailedException.java
+++ b/core/src/main/java/org/elasticsearch/action/support/DefaultShardOperationFailedException.java
@@ -31,9 +31,6 @@ import java.io.IOException;
import static org.elasticsearch.ExceptionsHelper.detailedMessage;
-/**
- *
- */
public class DefaultShardOperationFailedException implements ShardOperationFailedException {
private String index;
diff --git a/core/src/main/java/org/elasticsearch/action/support/PlainActionFuture.java b/core/src/main/java/org/elasticsearch/action/support/PlainActionFuture.java
index f520def6e6d..094f82ae31f 100644
--- a/core/src/main/java/org/elasticsearch/action/support/PlainActionFuture.java
+++ b/core/src/main/java/org/elasticsearch/action/support/PlainActionFuture.java
@@ -19,9 +19,6 @@
package org.elasticsearch.action.support;
-/**
- *
- */
public class PlainActionFuture extends AdapterActionFuture {
public static PlainActionFuture newFuture() {
diff --git a/core/src/main/java/org/elasticsearch/action/support/TransportAction.java b/core/src/main/java/org/elasticsearch/action/support/TransportAction.java
index 7d1a091d6b3..e7d6d3b508f 100644
--- a/core/src/main/java/org/elasticsearch/action/support/TransportAction.java
+++ b/core/src/main/java/org/elasticsearch/action/support/TransportAction.java
@@ -38,9 +38,6 @@ import java.util.concurrent.atomic.AtomicInteger;
import static org.elasticsearch.action.support.PlainActionFuture.newFuture;
-/**
- *
- */
public abstract class TransportAction, Response extends ActionResponse> extends AbstractComponent {
protected final ThreadPool threadPool;
diff --git a/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastOperationRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastOperationRequestBuilder.java
index 6170d967002..fb995513acb 100644
--- a/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastOperationRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastOperationRequestBuilder.java
@@ -24,8 +24,6 @@ import org.elasticsearch.action.ActionRequestBuilder;
import org.elasticsearch.action.support.IndicesOptions;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public abstract class BroadcastOperationRequestBuilder, Response extends BroadcastResponse, RequestBuilder extends BroadcastOperationRequestBuilder>
extends ActionRequestBuilder {
diff --git a/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastRequest.java b/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastRequest.java
index 508581050a6..b6ab85c0b18 100644
--- a/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastRequest.java
@@ -28,9 +28,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- *
- */
public class BroadcastRequest> extends ActionRequest implements IndicesRequest.Replaceable {
protected String[] indices;
diff --git a/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastShardRequest.java b/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastShardRequest.java
index 921724e6572..1012e8930bb 100644
--- a/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastShardRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastShardRequest.java
@@ -29,9 +29,6 @@ import org.elasticsearch.transport.TransportRequest;
import java.io.IOException;
-/**
- *
- */
public abstract class BroadcastShardRequest extends TransportRequest implements IndicesRequest {
private ShardId shardId;
diff --git a/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastShardResponse.java b/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastShardResponse.java
index 398a8d6c905..6845e6ced6c 100644
--- a/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastShardResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastShardResponse.java
@@ -26,9 +26,6 @@ import org.elasticsearch.transport.TransportResponse;
import java.io.IOException;
-/**
- *
- */
public abstract class BroadcastShardResponse extends TransportResponse {
ShardId shardId;
diff --git a/core/src/main/java/org/elasticsearch/action/support/broadcast/TransportBroadcastAction.java b/core/src/main/java/org/elasticsearch/action/support/broadcast/TransportBroadcastAction.java
index 87ef385a243..f3b3d8d9839 100644
--- a/core/src/main/java/org/elasticsearch/action/support/broadcast/TransportBroadcastAction.java
+++ b/core/src/main/java/org/elasticsearch/action/support/broadcast/TransportBroadcastAction.java
@@ -48,9 +48,6 @@ import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReferenceArray;
import java.util.function.Supplier;
-/**
- *
- */
public abstract class TransportBroadcastAction, Response extends BroadcastResponse, ShardRequest extends BroadcastShardRequest, ShardResponse extends BroadcastShardResponse>
extends HandledTransportAction {
diff --git a/core/src/main/java/org/elasticsearch/action/support/master/info/ClusterInfoRequest.java b/core/src/main/java/org/elasticsearch/action/support/master/info/ClusterInfoRequest.java
index 84ac29ad233..fc14cd38e56 100644
--- a/core/src/main/java/org/elasticsearch/action/support/master/info/ClusterInfoRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/support/master/info/ClusterInfoRequest.java
@@ -28,8 +28,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- */
public abstract class ClusterInfoRequest> extends MasterNodeReadRequest implements IndicesRequest.Replaceable {
private String[] indices = Strings.EMPTY_ARRAY;
diff --git a/core/src/main/java/org/elasticsearch/action/support/master/info/ClusterInfoRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/support/master/info/ClusterInfoRequestBuilder.java
index 1e871a41867..96e0ad8ee6b 100644
--- a/core/src/main/java/org/elasticsearch/action/support/master/info/ClusterInfoRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/support/master/info/ClusterInfoRequestBuilder.java
@@ -25,8 +25,6 @@ import org.elasticsearch.action.support.master.MasterNodeReadOperationRequestBui
import org.elasticsearch.client.ElasticsearchClient;
import org.elasticsearch.common.util.ArrayUtils;
-/**
- */
public abstract class ClusterInfoRequestBuilder, Response extends ActionResponse, Builder extends ClusterInfoRequestBuilder> extends MasterNodeReadOperationRequestBuilder {
diff --git a/core/src/main/java/org/elasticsearch/action/support/master/info/TransportClusterInfoAction.java b/core/src/main/java/org/elasticsearch/action/support/master/info/TransportClusterInfoAction.java
index 66b9fce5d71..59b1997b356 100644
--- a/core/src/main/java/org/elasticsearch/action/support/master/info/TransportClusterInfoAction.java
+++ b/core/src/main/java/org/elasticsearch/action/support/master/info/TransportClusterInfoAction.java
@@ -31,8 +31,6 @@ import org.elasticsearch.transport.TransportService;
import java.util.function.Supplier;
-/**
- */
public abstract class TransportClusterInfoAction, Response extends ActionResponse>
extends TransportMasterNodeReadAction {
diff --git a/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodeRequest.java b/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodeRequest.java
index f743ff02c74..1ce32247eab 100644
--- a/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodeRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodeRequest.java
@@ -25,9 +25,6 @@ import org.elasticsearch.transport.TransportRequest;
import java.io.IOException;
-/**
- *
- */
public abstract class BaseNodeRequest extends TransportRequest {
private String nodeId;
diff --git a/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodesRequest.java b/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodesRequest.java
index 663537f25da..4523e8d339a 100644
--- a/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodesRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodesRequest.java
@@ -29,9 +29,6 @@ import org.elasticsearch.common.unit.TimeValue;
import java.io.IOException;
-/**
- *
- */
public abstract class BaseNodesRequest> extends ActionRequest {
/**
diff --git a/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodesResponse.java b/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodesResponse.java
index 462f0b07bd6..7d97a7b5a92 100644
--- a/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodesResponse.java
+++ b/core/src/main/java/org/elasticsearch/action/support/nodes/BaseNodesResponse.java
@@ -31,9 +31,6 @@ import java.util.List;
import java.util.Map;
import java.util.Objects;
-/**
- *
- */
public abstract class BaseNodesResponse extends ActionResponse {
private ClusterName clusterName;
diff --git a/core/src/main/java/org/elasticsearch/action/support/nodes/NodesOperationRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/support/nodes/NodesOperationRequestBuilder.java
index cf8190f2c32..ffb43e7ee04 100644
--- a/core/src/main/java/org/elasticsearch/action/support/nodes/NodesOperationRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/support/nodes/NodesOperationRequestBuilder.java
@@ -24,8 +24,6 @@ import org.elasticsearch.action.ActionRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
import org.elasticsearch.common.unit.TimeValue;
-/**
- */
public abstract class NodesOperationRequestBuilder, Response extends BaseNodesResponse, RequestBuilder extends NodesOperationRequestBuilder>
extends ActionRequestBuilder {
diff --git a/core/src/main/java/org/elasticsearch/action/support/replication/ReplicationRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/support/replication/ReplicationRequestBuilder.java
index 6c25882d141..4ef20fcb15b 100644
--- a/core/src/main/java/org/elasticsearch/action/support/replication/ReplicationRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/support/replication/ReplicationRequestBuilder.java
@@ -26,8 +26,6 @@ import org.elasticsearch.action.support.ActiveShardCount;
import org.elasticsearch.client.ElasticsearchClient;
import org.elasticsearch.common.unit.TimeValue;
-/**
- */
public abstract class ReplicationRequestBuilder, Response extends ActionResponse, RequestBuilder extends ReplicationRequestBuilder>
extends ActionRequestBuilder {
diff --git a/core/src/main/java/org/elasticsearch/action/support/single/instance/InstanceShardOperationRequest.java b/core/src/main/java/org/elasticsearch/action/support/single/instance/InstanceShardOperationRequest.java
index cb9a6ab9f69..a6bb0f8e0a1 100644
--- a/core/src/main/java/org/elasticsearch/action/support/single/instance/InstanceShardOperationRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/support/single/instance/InstanceShardOperationRequest.java
@@ -32,9 +32,6 @@ import org.elasticsearch.index.shard.ShardId;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
-/**
- *
- */
public abstract class InstanceShardOperationRequest> extends ActionRequest
implements IndicesRequest {
diff --git a/core/src/main/java/org/elasticsearch/action/support/single/instance/InstanceShardOperationRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/support/single/instance/InstanceShardOperationRequestBuilder.java
index 13266b9151d..7bec08ce9ec 100644
--- a/core/src/main/java/org/elasticsearch/action/support/single/instance/InstanceShardOperationRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/support/single/instance/InstanceShardOperationRequestBuilder.java
@@ -25,8 +25,6 @@ import org.elasticsearch.action.ActionResponse;
import org.elasticsearch.client.ElasticsearchClient;
import org.elasticsearch.common.unit.TimeValue;
-/**
- */
public abstract class InstanceShardOperationRequestBuilder, Response extends ActionResponse, RequestBuilder extends InstanceShardOperationRequestBuilder>
extends ActionRequestBuilder {
diff --git a/core/src/main/java/org/elasticsearch/action/support/single/instance/TransportInstanceSingleOperationAction.java b/core/src/main/java/org/elasticsearch/action/support/single/instance/TransportInstanceSingleOperationAction.java
index 81da5ec9a86..35d3ee111c3 100644
--- a/core/src/main/java/org/elasticsearch/action/support/single/instance/TransportInstanceSingleOperationAction.java
+++ b/core/src/main/java/org/elasticsearch/action/support/single/instance/TransportInstanceSingleOperationAction.java
@@ -49,9 +49,6 @@ import org.elasticsearch.transport.TransportService;
import java.util.function.Supplier;
-/**
- *
- */
public abstract class TransportInstanceSingleOperationAction, Response extends ActionResponse>
extends HandledTransportAction {
protected final ClusterService clusterService;
diff --git a/core/src/main/java/org/elasticsearch/action/support/single/shard/SingleShardOperationRequestBuilder.java b/core/src/main/java/org/elasticsearch/action/support/single/shard/SingleShardOperationRequestBuilder.java
index 3e9897c7c85..03d4fb6343d 100644
--- a/core/src/main/java/org/elasticsearch/action/support/single/shard/SingleShardOperationRequestBuilder.java
+++ b/core/src/main/java/org/elasticsearch/action/support/single/shard/SingleShardOperationRequestBuilder.java
@@ -24,8 +24,6 @@ import org.elasticsearch.action.ActionRequestBuilder;
import org.elasticsearch.action.ActionResponse;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public abstract class SingleShardOperationRequestBuilder, Response extends ActionResponse, RequestBuilder extends SingleShardOperationRequestBuilder>
extends ActionRequestBuilder {
diff --git a/core/src/main/java/org/elasticsearch/action/support/single/shard/SingleShardRequest.java b/core/src/main/java/org/elasticsearch/action/support/single/shard/SingleShardRequest.java
index 499932fce68..4265fa98337 100644
--- a/core/src/main/java/org/elasticsearch/action/support/single/shard/SingleShardRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/support/single/shard/SingleShardRequest.java
@@ -31,9 +31,6 @@ import org.elasticsearch.index.shard.ShardId;
import java.io.IOException;
-/**
- *
- */
public abstract class SingleShardRequest> extends ActionRequest implements IndicesRequest {
public static final IndicesOptions INDICES_OPTIONS = IndicesOptions.strictSingleIndexNoExpandForbidClosed();
diff --git a/core/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsAction.java b/core/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsAction.java
index 9cc328c2be7..a84ba25f5bb 100644
--- a/core/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/termvectors/MultiTermVectorsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.termvectors;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class MultiTermVectorsAction extends Action {
public static final MultiTermVectorsAction INSTANCE = new MultiTermVectorsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/termvectors/TermVectorsAction.java b/core/src/main/java/org/elasticsearch/action/termvectors/TermVectorsAction.java
index a4c53ee4a2d..982f7ad52c1 100644
--- a/core/src/main/java/org/elasticsearch/action/termvectors/TermVectorsAction.java
+++ b/core/src/main/java/org/elasticsearch/action/termvectors/TermVectorsAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.termvectors;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class TermVectorsAction extends Action {
public static final TermVectorsAction INSTANCE = new TermVectorsAction();
diff --git a/core/src/main/java/org/elasticsearch/action/update/TransportUpdateAction.java b/core/src/main/java/org/elasticsearch/action/update/TransportUpdateAction.java
index 2523496746a..fe123e4638a 100644
--- a/core/src/main/java/org/elasticsearch/action/update/TransportUpdateAction.java
+++ b/core/src/main/java/org/elasticsearch/action/update/TransportUpdateAction.java
@@ -64,8 +64,6 @@ import java.util.Map;
import static org.elasticsearch.ExceptionsHelper.unwrapCause;
-/**
- */
public class TransportUpdateAction extends TransportInstanceSingleOperationAction {
private final TransportDeleteAction deleteAction;
diff --git a/core/src/main/java/org/elasticsearch/action/update/UpdateAction.java b/core/src/main/java/org/elasticsearch/action/update/UpdateAction.java
index 4ac1002dbc6..7d7997a7a0b 100644
--- a/core/src/main/java/org/elasticsearch/action/update/UpdateAction.java
+++ b/core/src/main/java/org/elasticsearch/action/update/UpdateAction.java
@@ -22,8 +22,6 @@ package org.elasticsearch.action.update;
import org.elasticsearch.action.Action;
import org.elasticsearch.client.ElasticsearchClient;
-/**
- */
public class UpdateAction extends Action {
public static final UpdateAction INSTANCE = new UpdateAction();
diff --git a/core/src/main/java/org/elasticsearch/action/update/UpdateRequest.java b/core/src/main/java/org/elasticsearch/action/update/UpdateRequest.java
index aaf9a0b6abb..14ef2058856 100644
--- a/core/src/main/java/org/elasticsearch/action/update/UpdateRequest.java
+++ b/core/src/main/java/org/elasticsearch/action/update/UpdateRequest.java
@@ -54,8 +54,6 @@ import java.util.Map;
import static org.elasticsearch.action.ValidateActions.addValidationError;
-/**
- */
public class UpdateRequest extends InstanceShardOperationRequest
implements DocWriteRequest, WriteRequest {
private static final DeprecationLogger DEPRECATION_LOGGER =
diff --git a/core/src/main/java/org/elasticsearch/client/support/AbstractClient.java b/core/src/main/java/org/elasticsearch/client/support/AbstractClient.java
index c3816d8d37f..2dd5cb138e8 100644
--- a/core/src/main/java/org/elasticsearch/client/support/AbstractClient.java
+++ b/core/src/main/java/org/elasticsearch/client/support/AbstractClient.java
@@ -348,9 +348,6 @@ import org.elasticsearch.threadpool.ThreadPool;
import java.util.Map;
-/**
- *
- */
public abstract class AbstractClient extends AbstractComponent implements Client {
private final ThreadPool threadPool;
diff --git a/core/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java b/core/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java
index 18c2d15ec39..f36e9c60526 100644
--- a/core/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java
+++ b/core/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java
@@ -66,9 +66,6 @@ import java.util.concurrent.atomic.AtomicInteger;
import static org.elasticsearch.common.unit.TimeValue.timeValueSeconds;
-/**
- *
- */
public class TransportClientNodesService extends AbstractComponent implements Closeable {
private final TimeValue nodesSamplerInterval;
diff --git a/core/src/main/java/org/elasticsearch/client/transport/support/TransportProxyClient.java b/core/src/main/java/org/elasticsearch/client/transport/support/TransportProxyClient.java
index 34833e9400a..31af25a494a 100644
--- a/core/src/main/java/org/elasticsearch/client/transport/support/TransportProxyClient.java
+++ b/core/src/main/java/org/elasticsearch/client/transport/support/TransportProxyClient.java
@@ -38,9 +38,6 @@ import java.util.Map;
import static java.util.Collections.unmodifiableMap;
-/**
- *
- */
public class TransportProxyClient {
private final TransportClientNodesService nodesService;
diff --git a/core/src/main/java/org/elasticsearch/cluster/action/index/NodeMappingRefreshAction.java b/core/src/main/java/org/elasticsearch/cluster/action/index/NodeMappingRefreshAction.java
index b1bf01018c9..3fc4f436154 100644
--- a/core/src/main/java/org/elasticsearch/cluster/action/index/NodeMappingRefreshAction.java
+++ b/core/src/main/java/org/elasticsearch/cluster/action/index/NodeMappingRefreshAction.java
@@ -41,9 +41,6 @@ import org.elasticsearch.transport.TransportService;
import java.io.IOException;
-/**
- *
- */
public class NodeMappingRefreshAction extends AbstractComponent {
public static final String ACTION_NAME = "internal:cluster/node/mapping/refresh";
diff --git a/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlock.java b/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlock.java
index 5a7f8f7c0a9..253206222b4 100644
--- a/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlock.java
+++ b/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlock.java
@@ -31,9 +31,6 @@ import java.util.ArrayList;
import java.util.EnumSet;
import java.util.Locale;
-/**
- *
- */
public class ClusterBlock implements Streamable, ToXContent {
private int id;
diff --git a/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlockException.java b/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlockException.java
index 94fad64154d..9ebb2286895 100644
--- a/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlockException.java
+++ b/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlockException.java
@@ -30,9 +30,6 @@ import java.util.Set;
import static java.util.Collections.unmodifiableSet;
-/**
- *
- */
public class ClusterBlockException extends ElasticsearchException {
private final Set blocks;
diff --git a/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlockLevel.java b/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlockLevel.java
index 45ff1d3707b..9d39d410d03 100644
--- a/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlockLevel.java
+++ b/core/src/main/java/org/elasticsearch/cluster/block/ClusterBlockLevel.java
@@ -22,9 +22,6 @@ package org.elasticsearch.cluster.block;
import java.util.EnumSet;
-/**
- *
- */
public enum ClusterBlockLevel {
READ(0),
WRITE(1),
diff --git a/core/src/main/java/org/elasticsearch/cluster/health/ClusterHealthStatus.java b/core/src/main/java/org/elasticsearch/cluster/health/ClusterHealthStatus.java
index a261d28f537..8a255fb1ce8 100644
--- a/core/src/main/java/org/elasticsearch/cluster/health/ClusterHealthStatus.java
+++ b/core/src/main/java/org/elasticsearch/cluster/health/ClusterHealthStatus.java
@@ -26,9 +26,6 @@ import org.elasticsearch.common.io.stream.Writeable;
import java.io.IOException;
-/**
- *
- */
public enum ClusterHealthStatus implements Writeable {
GREEN((byte) 0),
YELLOW((byte) 1),
diff --git a/core/src/main/java/org/elasticsearch/cluster/metadata/AliasMetaData.java b/core/src/main/java/org/elasticsearch/cluster/metadata/AliasMetaData.java
index 7e4d1917485..e62a3935ad5 100644
--- a/core/src/main/java/org/elasticsearch/cluster/metadata/AliasMetaData.java
+++ b/core/src/main/java/org/elasticsearch/cluster/metadata/AliasMetaData.java
@@ -37,9 +37,6 @@ import java.util.Set;
import static java.util.Collections.emptySet;
-/**
- *
- */
public class AliasMetaData extends AbstractDiffable {
public static final AliasMetaData PROTO = new AliasMetaData("", null, null, null);
diff --git a/core/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java b/core/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java
index 44db87d9b30..25836d54a1b 100644
--- a/core/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java
+++ b/core/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java
@@ -75,9 +75,6 @@ import static org.elasticsearch.cluster.node.DiscoveryNodeFilters.OpType.OR;
import static org.elasticsearch.common.settings.Settings.readSettingsFromStream;
import static org.elasticsearch.common.settings.Settings.writeSettingsToStream;
-/**
- *
- */
public class IndexMetaData implements Diffable, FromXContentBuilder, ToXContent {
public interface Custom extends Diffable, ToXContent {
diff --git a/core/src/main/java/org/elasticsearch/cluster/metadata/IndexTemplateMetaData.java b/core/src/main/java/org/elasticsearch/cluster/metadata/IndexTemplateMetaData.java
index c11389d2dc2..e719bac6188 100644
--- a/core/src/main/java/org/elasticsearch/cluster/metadata/IndexTemplateMetaData.java
+++ b/core/src/main/java/org/elasticsearch/cluster/metadata/IndexTemplateMetaData.java
@@ -42,9 +42,6 @@ import java.util.Map;
import java.util.Objects;
import java.util.Set;
-/**
- *
- */
public class IndexTemplateMetaData extends AbstractDiffable {
public static final IndexTemplateMetaData PROTO = IndexTemplateMetaData.builder("").build();
diff --git a/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataDeleteIndexService.java b/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataDeleteIndexService.java
index 22553dd9929..7dbc06cba0f 100644
--- a/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataDeleteIndexService.java
+++ b/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataDeleteIndexService.java
@@ -23,20 +23,23 @@ import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.admin.indices.delete.DeleteIndexClusterStateUpdateRequest;
import org.elasticsearch.cluster.AckedClusterStateUpdateTask;
import org.elasticsearch.cluster.ClusterState;
+import org.elasticsearch.cluster.RestoreInProgress;
import org.elasticsearch.cluster.ack.ClusterStateUpdateResponse;
import org.elasticsearch.cluster.block.ClusterBlocks;
import org.elasticsearch.cluster.routing.RoutingTable;
import org.elasticsearch.cluster.routing.allocation.AllocationService;
import org.elasticsearch.cluster.service.ClusterService;
import org.elasticsearch.common.Priority;
+import org.elasticsearch.common.collect.ImmutableOpenMap;
import org.elasticsearch.common.component.AbstractComponent;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.settings.Settings;
+import org.elasticsearch.common.util.set.Sets;
import org.elasticsearch.index.Index;
+import org.elasticsearch.snapshots.RestoreService;
import org.elasticsearch.snapshots.SnapshotsService;
import java.util.Arrays;
-import java.util.Collection;
import java.util.Set;
import static java.util.stream.Collectors.toSet;
@@ -63,7 +66,7 @@ public class MetaDataDeleteIndexService extends AbstractComponent {
throw new IllegalArgumentException("Index name is required");
}
- clusterService.submitStateUpdateTask("delete-index " + request.indices(),
+ clusterService.submitStateUpdateTask("delete-index " + Arrays.toString(request.indices()),
new AckedClusterStateUpdateTask(Priority.URGENT, request, listener) {
@Override
@@ -73,7 +76,7 @@ public class MetaDataDeleteIndexService extends AbstractComponent {
@Override
public ClusterState execute(final ClusterState currentState) {
- return deleteIndices(currentState, Arrays.asList(request.indices()));
+ return deleteIndices(currentState, Sets.newHashSet(request.indices()));
}
});
}
@@ -81,7 +84,7 @@ public class MetaDataDeleteIndexService extends AbstractComponent {
/**
* Delete some indices from the cluster state.
*/
- public ClusterState deleteIndices(ClusterState currentState, Collection indices) {
+ public ClusterState deleteIndices(ClusterState currentState, Set indices) {
final MetaData meta = currentState.metaData();
final Set metaDatas = indices.stream().map(i -> meta.getIndexSafe(i)).collect(toSet());
// Check if index deletion conflicts with any running snapshots
@@ -107,11 +110,25 @@ public class MetaDataDeleteIndexService extends AbstractComponent {
MetaData newMetaData = metaDataBuilder.build();
ClusterBlocks blocks = clusterBlocksBuilder.build();
+
+ // update snapshot restore entries
+ ImmutableOpenMap customs = currentState.getCustoms();
+ final RestoreInProgress restoreInProgress = currentState.custom(RestoreInProgress.TYPE);
+ if (restoreInProgress != null) {
+ RestoreInProgress updatedRestoreInProgress = RestoreService.updateRestoreStateWithDeletedIndices(restoreInProgress, indices);
+ if (updatedRestoreInProgress != restoreInProgress) {
+ ImmutableOpenMap.Builder builder = ImmutableOpenMap.builder(customs);
+ builder.put(RestoreInProgress.TYPE, updatedRestoreInProgress);
+ customs = builder.build();
+ }
+ }
+
return allocationService.reroute(
ClusterState.builder(currentState)
.routingTable(routingTableBuilder.build())
.metaData(newMetaData)
.blocks(blocks)
+ .customs(customs)
.build(),
"deleted indices [" + indices + "]");
}
diff --git a/core/src/main/java/org/elasticsearch/cluster/metadata/ProcessClusterEventTimeoutException.java b/core/src/main/java/org/elasticsearch/cluster/metadata/ProcessClusterEventTimeoutException.java
index f161f8c55ee..c648c3e633d 100644
--- a/core/src/main/java/org/elasticsearch/cluster/metadata/ProcessClusterEventTimeoutException.java
+++ b/core/src/main/java/org/elasticsearch/cluster/metadata/ProcessClusterEventTimeoutException.java
@@ -26,8 +26,6 @@ import org.elasticsearch.rest.RestStatus;
import java.io.IOException;
-/**
- */
public class ProcessClusterEventTimeoutException extends ElasticsearchException {
public ProcessClusterEventTimeoutException(TimeValue timeValue, String source) {
diff --git a/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeFilters.java b/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeFilters.java
index 7247dff5d8c..fad86caa7cc 100644
--- a/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeFilters.java
+++ b/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeFilters.java
@@ -29,8 +29,6 @@ import org.elasticsearch.common.transport.TransportAddress;
import java.util.HashMap;
import java.util.Map;
-/**
- */
public class DiscoveryNodeFilters {
public enum OpType {
diff --git a/core/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java b/core/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java
index 323adf78046..b3eaa517934 100644
--- a/core/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java
+++ b/core/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java
@@ -21,6 +21,7 @@ package org.elasticsearch.cluster.routing.allocation;
import org.elasticsearch.cluster.ClusterInfoService;
import org.elasticsearch.cluster.ClusterState;
+import org.elasticsearch.cluster.RestoreInProgress;
import org.elasticsearch.cluster.health.ClusterHealthStatus;
import org.elasticsearch.cluster.health.ClusterStateHealth;
import org.elasticsearch.cluster.metadata.IndexMetaData;
@@ -34,6 +35,7 @@ import org.elasticsearch.cluster.routing.UnassignedInfo.AllocationStatus;
import org.elasticsearch.cluster.routing.allocation.allocator.ShardsAllocator;
import org.elasticsearch.cluster.routing.allocation.command.AllocationCommands;
import org.elasticsearch.cluster.routing.allocation.decider.AllocationDeciders;
+import org.elasticsearch.common.collect.ImmutableOpenMap;
import org.elasticsearch.common.component.AbstractComponent;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.settings.Settings;
@@ -94,17 +96,24 @@ public class AllocationService extends AbstractComponent {
}
protected ClusterState buildResultAndLogHealthChange(ClusterState oldState, RoutingAllocation allocation, String reason) {
- return buildResultAndLogHealthChange(oldState, allocation, reason, new RoutingExplanations());
- }
-
- protected ClusterState buildResultAndLogHealthChange(ClusterState oldState, RoutingAllocation allocation, String reason,
- RoutingExplanations explanations) {
RoutingTable oldRoutingTable = oldState.routingTable();
RoutingNodes newRoutingNodes = allocation.routingNodes();
final RoutingTable newRoutingTable = new RoutingTable.Builder().updateNodes(oldRoutingTable.version(), newRoutingNodes).build();
MetaData newMetaData = allocation.updateMetaDataWithRoutingChanges(newRoutingTable);
assert newRoutingTable.validate(newMetaData); // validates the routing table is coherent with the cluster state metadata
- final ClusterState newState = ClusterState.builder(oldState).routingTable(newRoutingTable).metaData(newMetaData).build();
+ final ClusterState.Builder newStateBuilder = ClusterState.builder(oldState)
+ .routingTable(newRoutingTable)
+ .metaData(newMetaData);
+ final RestoreInProgress restoreInProgress = allocation.custom(RestoreInProgress.TYPE);
+ if (restoreInProgress != null) {
+ RestoreInProgress updatedRestoreInProgress = allocation.updateRestoreInfoWithRoutingChanges(restoreInProgress);
+ if (updatedRestoreInProgress != restoreInProgress) {
+ ImmutableOpenMap.Builder customsBuilder = ImmutableOpenMap.builder(allocation.getCustoms());
+ customsBuilder.put(RestoreInProgress.TYPE, updatedRestoreInProgress);
+ newStateBuilder.customs(customsBuilder.build());
+ }
+ }
+ final ClusterState newState = newStateBuilder.build();
logClusterHealthStateChange(
new ClusterStateHealth(oldState),
new ClusterStateHealth(newState),
diff --git a/core/src/main/java/org/elasticsearch/cluster/routing/allocation/RoutingAllocation.java b/core/src/main/java/org/elasticsearch/cluster/routing/allocation/RoutingAllocation.java
index 8429493b0e7..886b42f57d6 100644
--- a/core/src/main/java/org/elasticsearch/cluster/routing/allocation/RoutingAllocation.java
+++ b/core/src/main/java/org/elasticsearch/cluster/routing/allocation/RoutingAllocation.java
@@ -21,6 +21,7 @@ package org.elasticsearch.cluster.routing.allocation;
import org.elasticsearch.cluster.ClusterInfo;
import org.elasticsearch.cluster.ClusterState;
+import org.elasticsearch.cluster.RestoreInProgress;
import org.elasticsearch.cluster.metadata.MetaData;
import org.elasticsearch.cluster.node.DiscoveryNodes;
import org.elasticsearch.cluster.routing.RoutingChangesObserver;
@@ -30,6 +31,8 @@ import org.elasticsearch.cluster.routing.allocation.decider.AllocationDeciders;
import org.elasticsearch.cluster.routing.allocation.decider.Decision;
import org.elasticsearch.common.collect.ImmutableOpenMap;
import org.elasticsearch.index.shard.ShardId;
+import org.elasticsearch.snapshots.RestoreService;
+import org.elasticsearch.snapshots.RestoreService.RestoreInProgressUpdater;
import java.util.HashMap;
import java.util.HashSet;
@@ -76,8 +79,9 @@ public class RoutingAllocation {
private final IndexMetaDataUpdater indexMetaDataUpdater = new IndexMetaDataUpdater();
private final RoutingNodesChangedObserver nodesChangedObserver = new RoutingNodesChangedObserver();
+ private final RestoreInProgressUpdater restoreInProgressUpdater = new RestoreInProgressUpdater();
private final RoutingChangesObserver routingChangesObserver = new RoutingChangesObserver.DelegatingRoutingChangesObserver(
- nodesChangedObserver, indexMetaDataUpdater
+ nodesChangedObserver, indexMetaDataUpdater, restoreInProgressUpdater
);
@@ -154,6 +158,10 @@ public class RoutingAllocation {
return (T)customs.get(key);
}
+ public ImmutableOpenMap getCustoms() {
+ return customs;
+ }
+
/**
* Get explanations of current routing
* @return explanation of routing
@@ -234,6 +242,13 @@ public class RoutingAllocation {
return indexMetaDataUpdater.applyChanges(metaData, newRoutingTable);
}
+ /**
+ * Returns updated {@link RestoreInProgress} based on the changes that were made to the routing nodes
+ */
+ public RestoreInProgress updateRestoreInfoWithRoutingChanges(RestoreInProgress restoreInProgress) {
+ return restoreInProgressUpdater.applyChanges(restoreInProgress);
+ }
+
/**
* Returns true iff changes were made to the routing nodes
*/
diff --git a/core/src/main/java/org/elasticsearch/cluster/service/PendingClusterTask.java b/core/src/main/java/org/elasticsearch/cluster/service/PendingClusterTask.java
index d53dcb32584..93da0b99e9a 100644
--- a/core/src/main/java/org/elasticsearch/cluster/service/PendingClusterTask.java
+++ b/core/src/main/java/org/elasticsearch/cluster/service/PendingClusterTask.java
@@ -28,8 +28,6 @@ import org.elasticsearch.common.unit.TimeValue;
import java.io.IOException;
-/**
- */
public class PendingClusterTask implements Streamable {
private long insertOrder;
diff --git a/core/src/main/java/org/elasticsearch/common/Booleans.java b/core/src/main/java/org/elasticsearch/common/Booleans.java
index 9c5f5746633..9ec1ac968ac 100644
--- a/core/src/main/java/org/elasticsearch/common/Booleans.java
+++ b/core/src/main/java/org/elasticsearch/common/Booleans.java
@@ -19,9 +19,6 @@
package org.elasticsearch.common;
-/**
- *
- */
public class Booleans {
/**
diff --git a/core/src/main/java/org/elasticsearch/common/Classes.java b/core/src/main/java/org/elasticsearch/common/Classes.java
index 4a73c0d8ae4..091e3465028 100644
--- a/core/src/main/java/org/elasticsearch/common/Classes.java
+++ b/core/src/main/java/org/elasticsearch/common/Classes.java
@@ -21,9 +21,6 @@ package org.elasticsearch.common;
import java.lang.reflect.Modifier;
-/**
- *
- */
public class Classes {
/**
diff --git a/core/src/main/java/org/elasticsearch/common/Strings.java b/core/src/main/java/org/elasticsearch/common/Strings.java
index 955b836ca1c..1ef13e3bc70 100644
--- a/core/src/main/java/org/elasticsearch/common/Strings.java
+++ b/core/src/main/java/org/elasticsearch/common/Strings.java
@@ -45,9 +45,6 @@ import java.util.TreeSet;
import static java.util.Collections.unmodifiableSet;
import static org.elasticsearch.common.util.set.Sets.newHashSet;
-/**
- *
- */
public class Strings {
public static final String[] EMPTY_ARRAY = new String[0];
diff --git a/core/src/main/java/org/elasticsearch/common/blobstore/BlobStoreException.java b/core/src/main/java/org/elasticsearch/common/blobstore/BlobStoreException.java
index 4d982b3c3e3..700bff5ebae 100644
--- a/core/src/main/java/org/elasticsearch/common/blobstore/BlobStoreException.java
+++ b/core/src/main/java/org/elasticsearch/common/blobstore/BlobStoreException.java
@@ -24,9 +24,6 @@ import org.elasticsearch.common.io.stream.StreamInput;
import java.io.IOException;
-/**
- *
- */
public class BlobStoreException extends ElasticsearchException {
public BlobStoreException(String msg) {
diff --git a/core/src/main/java/org/elasticsearch/common/blobstore/fs/FsBlobStore.java b/core/src/main/java/org/elasticsearch/common/blobstore/fs/FsBlobStore.java
index 725535ecadb..ce696678896 100644
--- a/core/src/main/java/org/elasticsearch/common/blobstore/fs/FsBlobStore.java
+++ b/core/src/main/java/org/elasticsearch/common/blobstore/fs/FsBlobStore.java
@@ -33,9 +33,6 @@ import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
-/**
- *
- */
public class FsBlobStore extends AbstractComponent implements BlobStore {
private final Path path;
diff --git a/core/src/main/java/org/elasticsearch/common/blobstore/support/PlainBlobMetaData.java b/core/src/main/java/org/elasticsearch/common/blobstore/support/PlainBlobMetaData.java
index ea931631e0c..e51c56b6c11 100644
--- a/core/src/main/java/org/elasticsearch/common/blobstore/support/PlainBlobMetaData.java
+++ b/core/src/main/java/org/elasticsearch/common/blobstore/support/PlainBlobMetaData.java
@@ -21,9 +21,6 @@ package org.elasticsearch.common.blobstore.support;
import org.elasticsearch.common.blobstore.BlobMetaData;
-/**
- *
- */
public class PlainBlobMetaData implements BlobMetaData {
private final String name;
diff --git a/core/src/main/java/org/elasticsearch/common/collect/HppcMaps.java b/core/src/main/java/org/elasticsearch/common/collect/HppcMaps.java
index 55fc67831e3..c48626cf7c1 100644
--- a/core/src/main/java/org/elasticsearch/common/collect/HppcMaps.java
+++ b/core/src/main/java/org/elasticsearch/common/collect/HppcMaps.java
@@ -26,8 +26,6 @@ import com.carrotsearch.hppc.cursors.ObjectCursor;
import java.util.Iterator;
-/**
- */
public final class HppcMaps {
private HppcMaps() {
diff --git a/core/src/main/java/org/elasticsearch/common/collect/MapBuilder.java b/core/src/main/java/org/elasticsearch/common/collect/MapBuilder.java
index bfb0f42f44a..a840ee037f8 100644
--- a/core/src/main/java/org/elasticsearch/common/collect/MapBuilder.java
+++ b/core/src/main/java/org/elasticsearch/common/collect/MapBuilder.java
@@ -24,9 +24,6 @@ import java.util.Map;
import static java.util.Collections.unmodifiableMap;
-/**
- *
- */
public class MapBuilder {
public static MapBuilder newMapBuilder() {
diff --git a/core/src/main/java/org/elasticsearch/common/collect/Tuple.java b/core/src/main/java/org/elasticsearch/common/collect/Tuple.java
index ed88ae9df25..2a0d860e1a3 100644
--- a/core/src/main/java/org/elasticsearch/common/collect/Tuple.java
+++ b/core/src/main/java/org/elasticsearch/common/collect/Tuple.java
@@ -19,9 +19,6 @@
package org.elasticsearch.common.collect;
-/**
- *
- */
public class Tuple {
public static Tuple tuple(V1 v1, V2 v2) {
diff --git a/core/src/main/java/org/elasticsearch/common/component/AbstractLifecycleComponent.java b/core/src/main/java/org/elasticsearch/common/component/AbstractLifecycleComponent.java
index 6f1534b57d8..e2868b23e89 100644
--- a/core/src/main/java/org/elasticsearch/common/component/AbstractLifecycleComponent.java
+++ b/core/src/main/java/org/elasticsearch/common/component/AbstractLifecycleComponent.java
@@ -24,9 +24,6 @@ import org.elasticsearch.common.settings.Settings;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
-/**
- *
- */
public abstract class AbstractLifecycleComponent extends AbstractComponent implements LifecycleComponent {
protected final Lifecycle lifecycle = new Lifecycle();
diff --git a/core/src/main/java/org/elasticsearch/common/component/LifecycleComponent.java b/core/src/main/java/org/elasticsearch/common/component/LifecycleComponent.java
index b57486105d2..2729d60fa1c 100644
--- a/core/src/main/java/org/elasticsearch/common/component/LifecycleComponent.java
+++ b/core/src/main/java/org/elasticsearch/common/component/LifecycleComponent.java
@@ -21,9 +21,6 @@ package org.elasticsearch.common.component;
import org.elasticsearch.common.lease.Releasable;
-/**
- *
- */
public interface LifecycleComponent extends Releasable {
Lifecycle.State lifecycleState();
diff --git a/core/src/main/java/org/elasticsearch/common/component/LifecycleListener.java b/core/src/main/java/org/elasticsearch/common/component/LifecycleListener.java
index 52f9bea410b..447fb736e0c 100644
--- a/core/src/main/java/org/elasticsearch/common/component/LifecycleListener.java
+++ b/core/src/main/java/org/elasticsearch/common/component/LifecycleListener.java
@@ -19,9 +19,6 @@
package org.elasticsearch.common.component;
-/**
- *
- */
public abstract class LifecycleListener {
public void beforeStart() {
diff --git a/core/src/main/java/org/elasticsearch/common/compress/Compressor.java b/core/src/main/java/org/elasticsearch/common/compress/Compressor.java
index 883078dafe8..05706debd37 100644
--- a/core/src/main/java/org/elasticsearch/common/compress/Compressor.java
+++ b/core/src/main/java/org/elasticsearch/common/compress/Compressor.java
@@ -25,8 +25,6 @@ import org.elasticsearch.common.io.stream.StreamOutput;
import java.io.IOException;
-/**
- */
public interface Compressor {
boolean isCompressed(BytesReference bytes);
diff --git a/core/src/main/java/org/elasticsearch/common/compress/CompressorFactory.java b/core/src/main/java/org/elasticsearch/common/compress/CompressorFactory.java
index 82e049704cc..067d4666722 100644
--- a/core/src/main/java/org/elasticsearch/common/compress/CompressorFactory.java
+++ b/core/src/main/java/org/elasticsearch/common/compress/CompressorFactory.java
@@ -29,8 +29,6 @@ import org.elasticsearch.common.xcontent.XContentType;
import java.io.IOException;
-/**
- */
public class CompressorFactory {
public static final Compressor COMPRESSOR = new DeflateCompressor();
diff --git a/core/src/main/java/org/elasticsearch/common/geo/GeoPoint.java b/core/src/main/java/org/elasticsearch/common/geo/GeoPoint.java
index 15e2fb4fabb..f76720b9ed6 100644
--- a/core/src/main/java/org/elasticsearch/common/geo/GeoPoint.java
+++ b/core/src/main/java/org/elasticsearch/common/geo/GeoPoint.java
@@ -32,9 +32,6 @@ import java.util.Arrays;
import static org.elasticsearch.common.geo.GeoHashUtils.mortonEncode;
import static org.elasticsearch.common.geo.GeoHashUtils.stringEncode;
-/**
- *
- */
public final class GeoPoint {
private double lat;
diff --git a/core/src/main/java/org/elasticsearch/common/geo/GeoUtils.java b/core/src/main/java/org/elasticsearch/common/geo/GeoUtils.java
index b81720057c6..d33616cbe60 100644
--- a/core/src/main/java/org/elasticsearch/common/geo/GeoUtils.java
+++ b/core/src/main/java/org/elasticsearch/common/geo/GeoUtils.java
@@ -30,8 +30,6 @@ import org.elasticsearch.index.mapper.GeoPointFieldMapper;
import java.io.IOException;
-/**
- */
public class GeoUtils {
/** Maximum valid latitude in degrees. */
diff --git a/core/src/main/java/org/elasticsearch/common/geo/ShapesAvailability.java b/core/src/main/java/org/elasticsearch/common/geo/ShapesAvailability.java
index fe33fadb857..c800e011594 100644
--- a/core/src/main/java/org/elasticsearch/common/geo/ShapesAvailability.java
+++ b/core/src/main/java/org/elasticsearch/common/geo/ShapesAvailability.java
@@ -19,8 +19,6 @@
package org.elasticsearch.common.geo;
-/**
- */
public class ShapesAvailability {
public static final boolean SPATIAL4J_AVAILABLE;
diff --git a/core/src/main/java/org/elasticsearch/common/geo/SpatialStrategy.java b/core/src/main/java/org/elasticsearch/common/geo/SpatialStrategy.java
index e1b0356b686..5a7c9e2a325 100644
--- a/core/src/main/java/org/elasticsearch/common/geo/SpatialStrategy.java
+++ b/core/src/main/java/org/elasticsearch/common/geo/SpatialStrategy.java
@@ -24,9 +24,6 @@ import org.elasticsearch.common.io.stream.Writeable;
import java.io.IOException;
-/**
- *
- */
public enum SpatialStrategy implements Writeable {
TERM("term"),
diff --git a/core/src/main/java/org/elasticsearch/common/io/FastCharArrayReader.java b/core/src/main/java/org/elasticsearch/common/io/FastCharArrayReader.java
index 53b932afd54..f75d8d1c96a 100644
--- a/core/src/main/java/org/elasticsearch/common/io/FastCharArrayReader.java
+++ b/core/src/main/java/org/elasticsearch/common/io/FastCharArrayReader.java
@@ -22,9 +22,6 @@ package org.elasticsearch.common.io;
import java.io.IOException;
import java.io.Reader;
-/**
- *
- */
public class FastCharArrayReader extends Reader {
/**
diff --git a/core/src/main/java/org/elasticsearch/common/io/UTF8StreamWriter.java b/core/src/main/java/org/elasticsearch/common/io/UTF8StreamWriter.java
index 59c95f67ea3..0ed5fd498de 100644
--- a/core/src/main/java/org/elasticsearch/common/io/UTF8StreamWriter.java
+++ b/core/src/main/java/org/elasticsearch/common/io/UTF8StreamWriter.java
@@ -25,8 +25,6 @@ import java.io.OutputStream;
import java.io.Writer;
-/**
- */
public final class UTF8StreamWriter extends Writer {
/**
diff --git a/core/src/main/java/org/elasticsearch/common/io/stream/ByteBufferStreamInput.java b/core/src/main/java/org/elasticsearch/common/io/stream/ByteBufferStreamInput.java
index d13f539a670..3193d47c47e 100644
--- a/core/src/main/java/org/elasticsearch/common/io/stream/ByteBufferStreamInput.java
+++ b/core/src/main/java/org/elasticsearch/common/io/stream/ByteBufferStreamInput.java
@@ -22,8 +22,6 @@ import java.io.EOFException;
import java.io.IOException;
import java.nio.ByteBuffer;
-/**
- */
public class ByteBufferStreamInput extends StreamInput {
private final ByteBuffer buffer;
diff --git a/core/src/main/java/org/elasticsearch/common/io/stream/DataOutputStreamOutput.java b/core/src/main/java/org/elasticsearch/common/io/stream/DataOutputStreamOutput.java
index aa542b1c305..184560a4a76 100644
--- a/core/src/main/java/org/elasticsearch/common/io/stream/DataOutputStreamOutput.java
+++ b/core/src/main/java/org/elasticsearch/common/io/stream/DataOutputStreamOutput.java
@@ -23,9 +23,6 @@ import java.io.Closeable;
import java.io.DataOutput;
import java.io.IOException;
-/**
- *
- */
public class DataOutputStreamOutput extends StreamOutput {
private final DataOutput out;
diff --git a/core/src/main/java/org/elasticsearch/common/io/stream/InputStreamStreamInput.java b/core/src/main/java/org/elasticsearch/common/io/stream/InputStreamStreamInput.java
index d786041af49..a252b66bcfc 100644
--- a/core/src/main/java/org/elasticsearch/common/io/stream/InputStreamStreamInput.java
+++ b/core/src/main/java/org/elasticsearch/common/io/stream/InputStreamStreamInput.java
@@ -25,9 +25,6 @@ import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
-/**
- *
- */
public class InputStreamStreamInput extends StreamInput {
private final InputStream is;
diff --git a/core/src/main/java/org/elasticsearch/common/io/stream/OutputStreamStreamOutput.java b/core/src/main/java/org/elasticsearch/common/io/stream/OutputStreamStreamOutput.java
index 93e1fe8ee90..d30255605e7 100644
--- a/core/src/main/java/org/elasticsearch/common/io/stream/OutputStreamStreamOutput.java
+++ b/core/src/main/java/org/elasticsearch/common/io/stream/OutputStreamStreamOutput.java
@@ -22,8 +22,6 @@ package org.elasticsearch.common.io.stream;
import java.io.IOException;
import java.io.OutputStream;
-/**
- */
public class OutputStreamStreamOutput extends StreamOutput {
private final OutputStream out;
diff --git a/core/src/main/java/org/elasticsearch/common/joda/Joda.java b/core/src/main/java/org/elasticsearch/common/joda/Joda.java
index 34c882d0d80..7978ceff48c 100644
--- a/core/src/main/java/org/elasticsearch/common/joda/Joda.java
+++ b/core/src/main/java/org/elasticsearch/common/joda/Joda.java
@@ -44,9 +44,6 @@ import java.io.IOException;
import java.io.Writer;
import java.util.Locale;
-/**
- *
- */
public class Joda {
public static FormatDateTimeFormatter forPattern(String input) {
diff --git a/core/src/main/java/org/elasticsearch/common/lease/Releasables.java b/core/src/main/java/org/elasticsearch/common/lease/Releasables.java
index bfabd20976d..bd7b2a6e772 100644
--- a/core/src/main/java/org/elasticsearch/common/lease/Releasables.java
+++ b/core/src/main/java/org/elasticsearch/common/lease/Releasables.java
@@ -24,6 +24,7 @@ import org.apache.lucene.util.IOUtils;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.util.Arrays;
+import java.util.concurrent.atomic.AtomicBoolean;
/** Utility methods to work with {@link Releasable}s. */
public enum Releasables {
@@ -93,4 +94,16 @@ public enum Releasables {
public static Releasable wrap(final Releasable... releasables) {
return () -> close(releasables);
}
+
+ /**
+ * Equivalent to {@link #wrap(Releasable...)} but can be called multiple times without double releasing.
+ */
+ public static Releasable releaseOnce(final Releasable... releasables) {
+ final AtomicBoolean released = new AtomicBoolean(false);
+ return () -> {
+ if (released.compareAndSet(false, true)) {
+ close(releasables);
+ }
+ };
+ }
}
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/BytesRefs.java b/core/src/main/java/org/elasticsearch/common/lucene/BytesRefs.java
index e99f61fe8e6..b363315a108 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/BytesRefs.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/BytesRefs.java
@@ -22,8 +22,6 @@ package org.elasticsearch.common.lucene;
import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.BytesRefBuilder;
-/**
- */
public class BytesRefs {
/**
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/Lucene.java b/core/src/main/java/org/elasticsearch/common/lucene/Lucene.java
index ef570be1e7a..e3d3bf1c624 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/Lucene.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/Lucene.java
@@ -85,9 +85,6 @@ import java.util.List;
import java.util.Map;
import java.util.Objects;
-/**
- *
- */
public class Lucene {
public static final String LATEST_DOC_VALUES_FORMAT = "Lucene54";
public static final String LATEST_POSTINGS_FORMAT = "Lucene50";
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/MinimumScoreCollector.java b/core/src/main/java/org/elasticsearch/common/lucene/MinimumScoreCollector.java
index e1fc0171bb7..2552309450b 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/MinimumScoreCollector.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/MinimumScoreCollector.java
@@ -28,9 +28,6 @@ import org.apache.lucene.search.SimpleCollector;
import java.io.IOException;
-/**
- *
- */
public class MinimumScoreCollector extends SimpleCollector {
private final Collector collector;
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/ScorerAware.java b/core/src/main/java/org/elasticsearch/common/lucene/ScorerAware.java
index e5708df05f3..df17f8d7757 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/ScorerAware.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/ScorerAware.java
@@ -20,9 +20,6 @@ package org.elasticsearch.common.lucene;
import org.apache.lucene.search.Scorer;
-/**
- *
- */
public interface ScorerAware {
void setScorer(Scorer scorer);
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/all/AllEntries.java b/core/src/main/java/org/elasticsearch/common/lucene/all/AllEntries.java
index 23370bb0ffe..ffd85213e8a 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/all/AllEntries.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/all/AllEntries.java
@@ -22,9 +22,6 @@ package org.elasticsearch.common.lucene.all;
import java.util.ArrayList;
import java.util.List;
-/**
- *
- */
public class AllEntries {
public static class Entry {
private final String name;
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/all/AllTokenStream.java b/core/src/main/java/org/elasticsearch/common/lucene/all/AllTokenStream.java
index 045a4badc45..0d29a65d5d5 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/all/AllTokenStream.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/all/AllTokenStream.java
@@ -28,9 +28,6 @@ import org.apache.lucene.util.SmallFloat;
import java.io.IOException;
-/**
- *
- */
public final class AllTokenStream extends TokenFilter {
public static TokenStream allTokenStream(String allFieldName, String value, float boost, Analyzer analyzer) throws IOException {
return new AllTokenStream(analyzer.tokenStream(allFieldName, value), boost);
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/search/FilteredCollector.java b/core/src/main/java/org/elasticsearch/common/lucene/search/FilteredCollector.java
index 5bb92235044..3a5d71d1fcd 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/search/FilteredCollector.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/search/FilteredCollector.java
@@ -29,9 +29,6 @@ import org.elasticsearch.common.lucene.Lucene;
import java.io.IOException;
-/**
- *
- */
public class FilteredCollector implements Collector {
private final Collector collector;
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/search/MoreLikeThisQuery.java b/core/src/main/java/org/elasticsearch/common/lucene/search/MoreLikeThisQuery.java
index 06ab2b4a530..81a8dfdd1e9 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/search/MoreLikeThisQuery.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/search/MoreLikeThisQuery.java
@@ -45,9 +45,6 @@ import java.util.List;
import java.util.Objects;
import java.util.Set;
-/**
- *
- */
public class MoreLikeThisQuery extends Query {
public static final String DEFAULT_MINIMUM_SHOULD_MATCH = "30%";
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/search/Queries.java b/core/src/main/java/org/elasticsearch/common/lucene/search/Queries.java
index ee3f752f890..8933b56b124 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/search/Queries.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/search/Queries.java
@@ -35,9 +35,6 @@ import org.elasticsearch.index.mapper.TypeFieldMapper;
import java.util.List;
import java.util.regex.Pattern;
-/**
- *
- */
public class Queries {
public static Query newMatchAllQuery() {
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/search/function/ScoreFunction.java b/core/src/main/java/org/elasticsearch/common/lucene/search/function/ScoreFunction.java
index 9b33f3d90cc..189ca1584ae 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/search/function/ScoreFunction.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/search/function/ScoreFunction.java
@@ -24,9 +24,6 @@ import org.apache.lucene.index.LeafReaderContext;
import java.io.IOException;
import java.util.Objects;
-/**
- *
- */
public abstract class ScoreFunction {
private final CombineFunction scoreCombiner;
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/search/function/WeightFactorFunction.java b/core/src/main/java/org/elasticsearch/common/lucene/search/function/WeightFactorFunction.java
index cadb3f55df4..bfe36b0a060 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/search/function/WeightFactorFunction.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/search/function/WeightFactorFunction.java
@@ -25,9 +25,6 @@ import org.apache.lucene.search.Explanation;
import java.io.IOException;
import java.util.Objects;
-/**
- *
- */
public class WeightFactorFunction extends ScoreFunction {
private static final ScoreFunction SCORE_ONE = new ScoreOne(CombineFunction.MULTIPLY);
diff --git a/core/src/main/java/org/elasticsearch/common/lucene/store/InputStreamIndexInput.java b/core/src/main/java/org/elasticsearch/common/lucene/store/InputStreamIndexInput.java
index bb63978d70c..9866e239dba 100644
--- a/core/src/main/java/org/elasticsearch/common/lucene/store/InputStreamIndexInput.java
+++ b/core/src/main/java/org/elasticsearch/common/lucene/store/InputStreamIndexInput.java
@@ -24,9 +24,6 @@ import org.apache.lucene.store.IndexInput;
import java.io.IOException;
import java.io.InputStream;
-/**
- *
- */
public class InputStreamIndexInput extends InputStream {
private final IndexInput indexInput;
diff --git a/core/src/main/java/org/elasticsearch/common/metrics/CounterMetric.java b/core/src/main/java/org/elasticsearch/common/metrics/CounterMetric.java
index 917ec9d4960..b65d9999869 100644
--- a/core/src/main/java/org/elasticsearch/common/metrics/CounterMetric.java
+++ b/core/src/main/java/org/elasticsearch/common/metrics/CounterMetric.java
@@ -21,8 +21,6 @@ package org.elasticsearch.common.metrics;
import java.util.concurrent.atomic.LongAdder;
-/**
- */
public class CounterMetric implements Metric {
private final LongAdder counter = new LongAdder();
diff --git a/core/src/main/java/org/elasticsearch/common/metrics/MeanMetric.java b/core/src/main/java/org/elasticsearch/common/metrics/MeanMetric.java
index f6f3104f558..1ee1a867fad 100644
--- a/core/src/main/java/org/elasticsearch/common/metrics/MeanMetric.java
+++ b/core/src/main/java/org/elasticsearch/common/metrics/MeanMetric.java
@@ -21,8 +21,6 @@ package org.elasticsearch.common.metrics;
import java.util.concurrent.atomic.LongAdder;
-/**
- */
public class MeanMetric implements Metric {
private final LongAdder counter = new LongAdder();
diff --git a/core/src/main/java/org/elasticsearch/common/metrics/Metric.java b/core/src/main/java/org/elasticsearch/common/metrics/Metric.java
index b986c282a59..4f5bce173fc 100644
--- a/core/src/main/java/org/elasticsearch/common/metrics/Metric.java
+++ b/core/src/main/java/org/elasticsearch/common/metrics/Metric.java
@@ -19,7 +19,5 @@
package org.elasticsearch.common.metrics;
-/**
- */
public interface Metric {
}
diff --git a/core/src/main/java/org/elasticsearch/common/network/NetworkService.java b/core/src/main/java/org/elasticsearch/common/network/NetworkService.java
index 2652f9ff646..b72acf8064c 100644
--- a/core/src/main/java/org/elasticsearch/common/network/NetworkService.java
+++ b/core/src/main/java/org/elasticsearch/common/network/NetworkService.java
@@ -36,9 +36,6 @@ import java.util.List;
import java.util.concurrent.TimeUnit;
import java.util.function.Function;
-/**
- *
- */
public class NetworkService extends AbstractComponent {
/** By default, we bind to loopback interfaces */
diff --git a/core/src/main/java/org/elasticsearch/common/recycler/NoneRecycler.java b/core/src/main/java/org/elasticsearch/common/recycler/NoneRecycler.java
index 258e4355b9f..d1bf59a92c6 100644
--- a/core/src/main/java/org/elasticsearch/common/recycler/NoneRecycler.java
+++ b/core/src/main/java/org/elasticsearch/common/recycler/NoneRecycler.java
@@ -20,8 +20,6 @@
package org.elasticsearch.common.recycler;
-/**
- */
public class NoneRecycler extends AbstractRecycler {
public NoneRecycler(C c) {
diff --git a/core/src/main/java/org/elasticsearch/common/regex/Regex.java b/core/src/main/java/org/elasticsearch/common/regex/Regex.java
index f1f945288e4..bcf2dfba3ef 100644
--- a/core/src/main/java/org/elasticsearch/common/regex/Regex.java
+++ b/core/src/main/java/org/elasticsearch/common/regex/Regex.java
@@ -29,9 +29,6 @@ import java.util.List;
import java.util.Locale;
import java.util.regex.Pattern;
-/**
- *
- */
public class Regex {
/**
diff --git a/core/src/main/java/org/elasticsearch/common/rounding/DateTimeUnit.java b/core/src/main/java/org/elasticsearch/common/rounding/DateTimeUnit.java
index 375c1a27212..3bf4f460d71 100644
--- a/core/src/main/java/org/elasticsearch/common/rounding/DateTimeUnit.java
+++ b/core/src/main/java/org/elasticsearch/common/rounding/DateTimeUnit.java
@@ -26,9 +26,6 @@ import org.joda.time.chrono.ISOChronology;
import java.util.function.Function;
-/**
- *
- */
public enum DateTimeUnit {
WEEK_OF_WEEKYEAR( (byte) 1, tz -> ISOChronology.getInstance(tz).weekOfWeekyear()),
diff --git a/core/src/main/java/org/elasticsearch/common/transport/NetworkExceptionHelper.java b/core/src/main/java/org/elasticsearch/common/transport/NetworkExceptionHelper.java
index 5d6211c3fec..b78d61f2506 100644
--- a/core/src/main/java/org/elasticsearch/common/transport/NetworkExceptionHelper.java
+++ b/core/src/main/java/org/elasticsearch/common/transport/NetworkExceptionHelper.java
@@ -22,9 +22,6 @@ package org.elasticsearch.common.transport;
import java.net.ConnectException;
import java.nio.channels.ClosedChannelException;
-/**
- *
- */
public class NetworkExceptionHelper {
public static boolean isConnectException(Throwable e) {
diff --git a/core/src/main/java/org/elasticsearch/common/transport/PortsRange.java b/core/src/main/java/org/elasticsearch/common/transport/PortsRange.java
index f88f1de8fe0..aef5db31e2d 100644
--- a/core/src/main/java/org/elasticsearch/common/transport/PortsRange.java
+++ b/core/src/main/java/org/elasticsearch/common/transport/PortsRange.java
@@ -24,9 +24,6 @@ import com.carrotsearch.hppc.IntArrayList;
import java.util.StringTokenizer;
-/**
- *
- */
public class PortsRange {
private final String portRange;
diff --git a/core/src/main/java/org/elasticsearch/common/unit/SizeUnit.java b/core/src/main/java/org/elasticsearch/common/unit/SizeUnit.java
index 984931d2647..bfa8da1791d 100644
--- a/core/src/main/java/org/elasticsearch/common/unit/SizeUnit.java
+++ b/core/src/main/java/org/elasticsearch/common/unit/SizeUnit.java
@@ -19,9 +19,6 @@
package org.elasticsearch.common.unit;
-/**
- *
- */
public enum SizeUnit {
SINGLE {
@Override
diff --git a/core/src/main/java/org/elasticsearch/common/util/ArrayUtils.java b/core/src/main/java/org/elasticsearch/common/util/ArrayUtils.java
index bb8442efa08..de23663b3e9 100644
--- a/core/src/main/java/org/elasticsearch/common/util/ArrayUtils.java
+++ b/core/src/main/java/org/elasticsearch/common/util/ArrayUtils.java
@@ -22,9 +22,6 @@ package org.elasticsearch.common.util;
import java.lang.reflect.Array;
import java.util.Arrays;
-/**
- *
- */
public class ArrayUtils {
private ArrayUtils() {}
diff --git a/core/src/main/java/org/elasticsearch/common/util/Callback.java b/core/src/main/java/org/elasticsearch/common/util/Callback.java
index d4e3c94f700..3e498ef3747 100644
--- a/core/src/main/java/org/elasticsearch/common/util/Callback.java
+++ b/core/src/main/java/org/elasticsearch/common/util/Callback.java
@@ -19,9 +19,6 @@
package org.elasticsearch.common.util;
-/**
- *
- */
public interface Callback {
void handle(T t);
diff --git a/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentCollections.java b/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentCollections.java
index 1c78b92bebb..1f6b0645d4e 100644
--- a/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentCollections.java
+++ b/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentCollections.java
@@ -31,9 +31,6 @@ import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.LinkedTransferQueue;
-/**
- *
- */
public abstract class ConcurrentCollections {
static final int aggressiveConcurrencyLevel;
diff --git a/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentHashMapLong.java b/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentHashMapLong.java
index 4a1d67aa38b..32e3a00c074 100644
--- a/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentHashMapLong.java
+++ b/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentHashMapLong.java
@@ -24,9 +24,6 @@ import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentMap;
-/**
- *
- */
public class ConcurrentHashMapLong implements ConcurrentMapLong {
private final ConcurrentMap map;
diff --git a/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentMapLong.java b/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentMapLong.java
index 82212ad6165..85482ad6703 100644
--- a/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentMapLong.java
+++ b/core/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentMapLong.java
@@ -21,9 +21,6 @@ package org.elasticsearch.common.util.concurrent;
import java.util.concurrent.ConcurrentMap;
-/**
- *
- */
public interface ConcurrentMapLong extends ConcurrentMap {
T get(long key);
diff --git a/core/src/main/java/org/elasticsearch/common/util/concurrent/EsAbortPolicy.java b/core/src/main/java/org/elasticsearch/common/util/concurrent/EsAbortPolicy.java
index 2b19fa2096c..986b925f9e6 100644
--- a/core/src/main/java/org/elasticsearch/common/util/concurrent/EsAbortPolicy.java
+++ b/core/src/main/java/org/elasticsearch/common/util/concurrent/EsAbortPolicy.java
@@ -24,8 +24,6 @@ import org.elasticsearch.common.metrics.CounterMetric;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
-/**
- */
public class EsAbortPolicy implements XRejectedExecutionHandler {
private final CounterMetric rejected = new CounterMetric();
diff --git a/core/src/main/java/org/elasticsearch/common/util/concurrent/EsRejectedExecutionException.java b/core/src/main/java/org/elasticsearch/common/util/concurrent/EsRejectedExecutionException.java
index d75b3ffa8c2..87e50a193ee 100644
--- a/core/src/main/java/org/elasticsearch/common/util/concurrent/EsRejectedExecutionException.java
+++ b/core/src/main/java/org/elasticsearch/common/util/concurrent/EsRejectedExecutionException.java
@@ -26,8 +26,6 @@ import org.elasticsearch.rest.RestStatus;
import java.io.IOException;
-/**
- */
public class EsRejectedExecutionException extends ElasticsearchException {
private final boolean isExecutorShutdown;
diff --git a/core/src/main/java/org/elasticsearch/common/util/concurrent/FutureUtils.java b/core/src/main/java/org/elasticsearch/common/util/concurrent/FutureUtils.java
index ef39156d5bf..de841634ede 100644
--- a/core/src/main/java/org/elasticsearch/common/util/concurrent/FutureUtils.java
+++ b/core/src/main/java/org/elasticsearch/common/util/concurrent/FutureUtils.java
@@ -23,8 +23,6 @@ import org.elasticsearch.common.SuppressForbidden;
import java.util.concurrent.Future;
-/**
- */
public class FutureUtils {
@SuppressForbidden(reason = "Future#cancel()")
diff --git a/core/src/main/java/org/elasticsearch/common/util/concurrent/PrioritizedCallable.java b/core/src/main/java/org/elasticsearch/common/util/concurrent/PrioritizedCallable.java
index d028b5c7f6a..c946c47d5c0 100644
--- a/core/src/main/java/org/elasticsearch/common/util/concurrent/PrioritizedCallable.java
+++ b/core/src/main/java/org/elasticsearch/common/util/concurrent/PrioritizedCallable.java
@@ -22,9 +22,6 @@ import org.elasticsearch.common.Priority;
import java.util.concurrent.Callable;
-/**
- *
- */
public abstract class PrioritizedCallable implements Callable, Comparable {
private final Priority priority;
diff --git a/core/src/main/java/org/elasticsearch/common/util/concurrent/PrioritizedRunnable.java b/core/src/main/java/org/elasticsearch/common/util/concurrent/PrioritizedRunnable.java
index 6c3e24d1ab9..7ef2e96e2c5 100644
--- a/core/src/main/java/org/elasticsearch/common/util/concurrent/PrioritizedRunnable.java
+++ b/core/src/main/java/org/elasticsearch/common/util/concurrent/PrioritizedRunnable.java
@@ -23,9 +23,6 @@ import org.elasticsearch.common.Priority;
import java.util.concurrent.TimeUnit;
import java.util.function.LongSupplier;
-/**
- *
- */
public abstract class PrioritizedRunnable implements Runnable, Comparable {
private final Priority priority;
diff --git a/core/src/main/java/org/elasticsearch/common/util/concurrent/UncategorizedExecutionException.java b/core/src/main/java/org/elasticsearch/common/util/concurrent/UncategorizedExecutionException.java
index a74a1a073f8..a741de3a8ef 100644
--- a/core/src/main/java/org/elasticsearch/common/util/concurrent/UncategorizedExecutionException.java
+++ b/core/src/main/java/org/elasticsearch/common/util/concurrent/UncategorizedExecutionException.java
@@ -24,9 +24,6 @@ import org.elasticsearch.common.io.stream.StreamInput;
import java.io.IOException;
-/**
- *
- */
public class UncategorizedExecutionException extends ElasticsearchException {
public UncategorizedExecutionException(String msg, Throwable cause) {
diff --git a/core/src/main/java/org/elasticsearch/common/util/concurrent/XRejectedExecutionHandler.java b/core/src/main/java/org/elasticsearch/common/util/concurrent/XRejectedExecutionHandler.java
index e58f2abfd5f..d201484cabc 100644
--- a/core/src/main/java/org/elasticsearch/common/util/concurrent/XRejectedExecutionHandler.java
+++ b/core/src/main/java/org/elasticsearch/common/util/concurrent/XRejectedExecutionHandler.java
@@ -21,8 +21,6 @@ package org.elasticsearch.common.util.concurrent;
import java.util.concurrent.RejectedExecutionHandler;
-/**
- */
public interface XRejectedExecutionHandler extends RejectedExecutionHandler {
/**
diff --git a/core/src/main/java/org/elasticsearch/common/xcontent/XContentHelper.java b/core/src/main/java/org/elasticsearch/common/xcontent/XContentHelper.java
index 2832527a583..1625289e528 100644
--- a/core/src/main/java/org/elasticsearch/common/xcontent/XContentHelper.java
+++ b/core/src/main/java/org/elasticsearch/common/xcontent/XContentHelper.java
@@ -38,9 +38,6 @@ import java.util.Objects;
import static org.elasticsearch.common.xcontent.ToXContent.EMPTY_PARAMS;
-/**
- *
- */
@SuppressWarnings("unchecked")
public class XContentHelper {
diff --git a/core/src/main/java/org/elasticsearch/common/xcontent/cbor/CborXContentParser.java b/core/src/main/java/org/elasticsearch/common/xcontent/cbor/CborXContentParser.java
index ed10ea47c0e..772a5322cc7 100644
--- a/core/src/main/java/org/elasticsearch/common/xcontent/cbor/CborXContentParser.java
+++ b/core/src/main/java/org/elasticsearch/common/xcontent/cbor/CborXContentParser.java
@@ -23,9 +23,6 @@ import com.fasterxml.jackson.core.JsonParser;
import org.elasticsearch.common.xcontent.XContentType;
import org.elasticsearch.common.xcontent.json.JsonXContentParser;
-/**
- *
- */
public class CborXContentParser extends JsonXContentParser {
public CborXContentParser(JsonParser parser) {
diff --git a/core/src/main/java/org/elasticsearch/common/xcontent/json/JsonXContentParser.java b/core/src/main/java/org/elasticsearch/common/xcontent/json/JsonXContentParser.java
index 5728e6035e6..f7ed46a6496 100644
--- a/core/src/main/java/org/elasticsearch/common/xcontent/json/JsonXContentParser.java
+++ b/core/src/main/java/org/elasticsearch/common/xcontent/json/JsonXContentParser.java
@@ -31,9 +31,6 @@ import org.elasticsearch.common.xcontent.support.AbstractXContentParser;
import java.io.IOException;
import java.nio.CharBuffer;
-/**
- *
- */
public class JsonXContentParser extends AbstractXContentParser {
final JsonParser parser;
diff --git a/core/src/main/java/org/elasticsearch/common/xcontent/smile/SmileXContentParser.java b/core/src/main/java/org/elasticsearch/common/xcontent/smile/SmileXContentParser.java
index 2bbf99db27d..ad8e12e70bf 100644
--- a/core/src/main/java/org/elasticsearch/common/xcontent/smile/SmileXContentParser.java
+++ b/core/src/main/java/org/elasticsearch/common/xcontent/smile/SmileXContentParser.java
@@ -23,9 +23,6 @@ import com.fasterxml.jackson.core.JsonParser;
import org.elasticsearch.common.xcontent.XContentType;
import org.elasticsearch.common.xcontent.json.JsonXContentParser;
-/**
- *
- */
public class SmileXContentParser extends JsonXContentParser {
public SmileXContentParser(JsonParser parser) {
diff --git a/core/src/main/java/org/elasticsearch/common/xcontent/support/AbstractXContentParser.java b/core/src/main/java/org/elasticsearch/common/xcontent/support/AbstractXContentParser.java
index 9f313a59b90..c0025499443 100644
--- a/core/src/main/java/org/elasticsearch/common/xcontent/support/AbstractXContentParser.java
+++ b/core/src/main/java/org/elasticsearch/common/xcontent/support/AbstractXContentParser.java
@@ -31,9 +31,6 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
-/**
- *
- */
public abstract class AbstractXContentParser implements XContentParser {
// Currently this is not a setting that can be changed and is a policy
diff --git a/core/src/main/java/org/elasticsearch/common/xcontent/support/XContentMapValues.java b/core/src/main/java/org/elasticsearch/common/xcontent/support/XContentMapValues.java
index f1eb9228d09..c745c7d6c0c 100644
--- a/core/src/main/java/org/elasticsearch/common/xcontent/support/XContentMapValues.java
+++ b/core/src/main/java/org/elasticsearch/common/xcontent/support/XContentMapValues.java
@@ -35,9 +35,6 @@ import java.util.List;
import java.util.Map;
import java.util.function.Function;
-/**
- *
- */
public class XContentMapValues {
/**
diff --git a/core/src/main/java/org/elasticsearch/common/xcontent/yaml/YamlXContentParser.java b/core/src/main/java/org/elasticsearch/common/xcontent/yaml/YamlXContentParser.java
index 3b674c054dc..5efceac7dcf 100644
--- a/core/src/main/java/org/elasticsearch/common/xcontent/yaml/YamlXContentParser.java
+++ b/core/src/main/java/org/elasticsearch/common/xcontent/yaml/YamlXContentParser.java
@@ -23,9 +23,6 @@ import com.fasterxml.jackson.core.JsonParser;
import org.elasticsearch.common.xcontent.XContentType;
import org.elasticsearch.common.xcontent.json.JsonXContentParser;
-/**
- *
- */
public class YamlXContentParser extends JsonXContentParser {
public YamlXContentParser(JsonParser parser) {
diff --git a/core/src/main/java/org/elasticsearch/discovery/MasterNotDiscoveredException.java b/core/src/main/java/org/elasticsearch/discovery/MasterNotDiscoveredException.java
index 160915a6e10..282d849debd 100644
--- a/core/src/main/java/org/elasticsearch/discovery/MasterNotDiscoveredException.java
+++ b/core/src/main/java/org/elasticsearch/discovery/MasterNotDiscoveredException.java
@@ -25,9 +25,6 @@ import org.elasticsearch.rest.RestStatus;
import java.io.IOException;
-/**
- *
- */
public class MasterNotDiscoveredException extends ElasticsearchException {
public MasterNotDiscoveredException() {
diff --git a/core/src/main/java/org/elasticsearch/discovery/local/LocalDiscovery.java b/core/src/main/java/org/elasticsearch/discovery/local/LocalDiscovery.java
index 6b943bde78b..389f5ee03bb 100644
--- a/core/src/main/java/org/elasticsearch/discovery/local/LocalDiscovery.java
+++ b/core/src/main/java/org/elasticsearch/discovery/local/LocalDiscovery.java
@@ -56,9 +56,6 @@ import java.util.concurrent.ConcurrentMap;
import static org.elasticsearch.cluster.ClusterState.Builder;
-/**
- *
- */
public class LocalDiscovery extends AbstractLifecycleComponent implements Discovery {
private static final LocalDiscovery[] NO_MEMBERS = new LocalDiscovery[0];
diff --git a/core/src/main/java/org/elasticsearch/discovery/zen/DiscoveryNodesProvider.java b/core/src/main/java/org/elasticsearch/discovery/zen/DiscoveryNodesProvider.java
index b9ce7901369..247839397e0 100644
--- a/core/src/main/java/org/elasticsearch/discovery/zen/DiscoveryNodesProvider.java
+++ b/core/src/main/java/org/elasticsearch/discovery/zen/DiscoveryNodesProvider.java
@@ -21,9 +21,6 @@ package org.elasticsearch.discovery.zen;
import org.elasticsearch.cluster.node.DiscoveryNodes;
-/**
- *
- */
public interface DiscoveryNodesProvider {
DiscoveryNodes nodes();
diff --git a/core/src/main/java/org/elasticsearch/discovery/zen/ElectMasterService.java b/core/src/main/java/org/elasticsearch/discovery/zen/ElectMasterService.java
index 1d11f5cf0f5..26029add7a4 100644
--- a/core/src/main/java/org/elasticsearch/discovery/zen/ElectMasterService.java
+++ b/core/src/main/java/org/elasticsearch/discovery/zen/ElectMasterService.java
@@ -38,9 +38,6 @@ import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
-/**
- *
- */
public class ElectMasterService extends AbstractComponent {
public static final Setting DISCOVERY_ZEN_MINIMUM_MASTER_NODES_SETTING =
diff --git a/core/src/main/java/org/elasticsearch/discovery/zen/membership/MembershipAction.java b/core/src/main/java/org/elasticsearch/discovery/zen/membership/MembershipAction.java
index 8740d12c5f7..f0140c660cd 100644
--- a/core/src/main/java/org/elasticsearch/discovery/zen/membership/MembershipAction.java
+++ b/core/src/main/java/org/elasticsearch/discovery/zen/membership/MembershipAction.java
@@ -38,9 +38,6 @@ import org.elasticsearch.transport.TransportService;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
-/**
- *
- */
public class MembershipAction extends AbstractComponent {
public static final String DISCOVERY_JOIN_ACTION_NAME = "internal:discovery/zen/join";
diff --git a/core/src/main/java/org/elasticsearch/discovery/zen/ping/PingContextProvider.java b/core/src/main/java/org/elasticsearch/discovery/zen/ping/PingContextProvider.java
index 0bcc8b37d88..43f4618472b 100644
--- a/core/src/main/java/org/elasticsearch/discovery/zen/ping/PingContextProvider.java
+++ b/core/src/main/java/org/elasticsearch/discovery/zen/ping/PingContextProvider.java
@@ -22,9 +22,6 @@ package org.elasticsearch.discovery.zen.ping;
import org.elasticsearch.cluster.ClusterState;
import org.elasticsearch.discovery.zen.DiscoveryNodesProvider;
-/**
- *
- */
public interface PingContextProvider extends DiscoveryNodesProvider {
/** return the current cluster state of the node */
diff --git a/core/src/main/java/org/elasticsearch/discovery/zen/ping/unicast/UnicastZenPing.java b/core/src/main/java/org/elasticsearch/discovery/zen/ping/unicast/UnicastZenPing.java
index 637730c75fd..aed0a1e1d36 100644
--- a/core/src/main/java/org/elasticsearch/discovery/zen/ping/unicast/UnicastZenPing.java
+++ b/core/src/main/java/org/elasticsearch/discovery/zen/ping/unicast/UnicastZenPing.java
@@ -86,9 +86,6 @@ import static java.util.Collections.emptySet;
import static org.elasticsearch.common.util.concurrent.ConcurrentCollections.newConcurrentMap;
import static org.elasticsearch.discovery.zen.ping.ZenPing.PingResponse.readPingResponse;
-/**
- *
- */
public class UnicastZenPing extends AbstractLifecycleComponent implements ZenPing {
public static final String ACTION_NAME = "internal:discovery/zen/unicast";
diff --git a/core/src/main/java/org/elasticsearch/discovery/zen/publish/PublishClusterStateAction.java b/core/src/main/java/org/elasticsearch/discovery/zen/publish/PublishClusterStateAction.java
index 870e34cc1f3..c2479363840 100644
--- a/core/src/main/java/org/elasticsearch/discovery/zen/publish/PublishClusterStateAction.java
+++ b/core/src/main/java/org/elasticsearch/discovery/zen/publish/PublishClusterStateAction.java
@@ -66,9 +66,6 @@ import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.function.Supplier;
-/**
- *
- */
public class PublishClusterStateAction extends AbstractComponent {
public static final String SEND_ACTION_NAME = "internal:discovery/zen/publish/send";
diff --git a/core/src/main/java/org/elasticsearch/gateway/GatewayAllocator.java b/core/src/main/java/org/elasticsearch/gateway/GatewayAllocator.java
index 450255575d9..d75a864d8dd 100644
--- a/core/src/main/java/org/elasticsearch/gateway/GatewayAllocator.java
+++ b/core/src/main/java/org/elasticsearch/gateway/GatewayAllocator.java
@@ -42,9 +42,6 @@ import org.elasticsearch.indices.store.TransportNodesListShardStoreMetaData;
import java.util.List;
import java.util.concurrent.ConcurrentMap;
-/**
- *
- */
public class GatewayAllocator extends AbstractComponent {
private RoutingService routingService;
diff --git a/core/src/main/java/org/elasticsearch/gateway/GatewayException.java b/core/src/main/java/org/elasticsearch/gateway/GatewayException.java
index 619d3d5f41e..32050f1c10e 100644
--- a/core/src/main/java/org/elasticsearch/gateway/GatewayException.java
+++ b/core/src/main/java/org/elasticsearch/gateway/GatewayException.java
@@ -24,9 +24,6 @@ import org.elasticsearch.common.io.stream.StreamInput;
import java.io.IOException;
-/**
- *
- */
public class GatewayException extends ElasticsearchException {
public GatewayException(String msg) {
diff --git a/core/src/main/java/org/elasticsearch/gateway/GatewayModule.java b/core/src/main/java/org/elasticsearch/gateway/GatewayModule.java
index 8169062a70b..b78310171e4 100644
--- a/core/src/main/java/org/elasticsearch/gateway/GatewayModule.java
+++ b/core/src/main/java/org/elasticsearch/gateway/GatewayModule.java
@@ -22,9 +22,6 @@ package org.elasticsearch.gateway;
import org.elasticsearch.common.inject.AbstractModule;
import org.elasticsearch.common.settings.Settings;
-/**
- *
- */
public class GatewayModule extends AbstractModule {
diff --git a/core/src/main/java/org/elasticsearch/gateway/GatewayService.java b/core/src/main/java/org/elasticsearch/gateway/GatewayService.java
index 5c45e4de90c..2e351b2e6bf 100644
--- a/core/src/main/java/org/elasticsearch/gateway/GatewayService.java
+++ b/core/src/main/java/org/elasticsearch/gateway/GatewayService.java
@@ -50,9 +50,6 @@ import org.elasticsearch.threadpool.ThreadPool;
import java.util.concurrent.atomic.AtomicBoolean;
-/**
- *
- */
public class GatewayService extends AbstractLifecycleComponent implements ClusterStateListener {
public static final Setting EXPECTED_NODES_SETTING =
diff --git a/core/src/main/java/org/elasticsearch/gateway/LocalAllocateDangledIndices.java b/core/src/main/java/org/elasticsearch/gateway/LocalAllocateDangledIndices.java
index 24562b52163..dcaccb88269 100644
--- a/core/src/main/java/org/elasticsearch/gateway/LocalAllocateDangledIndices.java
+++ b/core/src/main/java/org/elasticsearch/gateway/LocalAllocateDangledIndices.java
@@ -50,8 +50,6 @@ import java.io.IOException;
import java.util.Arrays;
import java.util.Collection;
-/**
- */
public class LocalAllocateDangledIndices extends AbstractComponent {
public static final String ACTION_NAME = "internal:gateway/local/allocate_dangled";
diff --git a/core/src/main/java/org/elasticsearch/gateway/ReplicaShardAllocator.java b/core/src/main/java/org/elasticsearch/gateway/ReplicaShardAllocator.java
index 96e3acb665e..620fd354327 100644
--- a/core/src/main/java/org/elasticsearch/gateway/ReplicaShardAllocator.java
+++ b/core/src/main/java/org/elasticsearch/gateway/ReplicaShardAllocator.java
@@ -48,8 +48,6 @@ import java.util.List;
import java.util.Map;
import java.util.Objects;
-/**
- */
public abstract class ReplicaShardAllocator extends BaseGatewayShardAllocator {
public ReplicaShardAllocator(Settings settings) {
diff --git a/core/src/main/java/org/elasticsearch/gateway/TransportNodesListGatewayMetaState.java b/core/src/main/java/org/elasticsearch/gateway/TransportNodesListGatewayMetaState.java
index 24886dc72d3..3e6769200e9 100644
--- a/core/src/main/java/org/elasticsearch/gateway/TransportNodesListGatewayMetaState.java
+++ b/core/src/main/java/org/elasticsearch/gateway/TransportNodesListGatewayMetaState.java
@@ -45,9 +45,6 @@ import org.elasticsearch.transport.TransportService;
import java.io.IOException;
import java.util.List;
-/**
- *
- */
public class TransportNodesListGatewayMetaState extends TransportNodesAction listeners;
diff --git a/core/src/main/java/org/elasticsearch/index/VersionType.java b/core/src/main/java/org/elasticsearch/index/VersionType.java
index 062fbce10de..be853ba94b1 100644
--- a/core/src/main/java/org/elasticsearch/index/VersionType.java
+++ b/core/src/main/java/org/elasticsearch/index/VersionType.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.lucene.uid.Versions;
import java.io.IOException;
-/**
- *
- */
public enum VersionType implements Writeable {
INTERNAL((byte) 0) {
@Override
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/AbstractCharFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/AbstractCharFilterFactory.java
index 2e728386ab8..fe4e757a9ae 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/AbstractCharFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/AbstractCharFilterFactory.java
@@ -22,9 +22,6 @@ package org.elasticsearch.index.analysis;
import org.elasticsearch.index.AbstractIndexComponent;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public abstract class AbstractCharFilterFactory extends AbstractIndexComponent implements CharFilterFactory {
private final String name;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/AbstractIndexAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/AbstractIndexAnalyzerProvider.java
index c0406cb806e..d8c30df9bf4 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/AbstractIndexAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/AbstractIndexAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.index.AbstractIndexComponent;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public abstract class AbstractIndexAnalyzerProvider extends AbstractIndexComponent implements AnalyzerProvider {
private final String name;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/AbstractTokenFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/AbstractTokenFilterFactory.java
index 16096ca8f3f..b148adbd6ed 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/AbstractTokenFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/AbstractTokenFilterFactory.java
@@ -24,9 +24,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.index.AbstractIndexComponent;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public abstract class AbstractTokenFilterFactory extends AbstractIndexComponent implements TokenFilterFactory {
private final String name;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/AbstractTokenizerFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/AbstractTokenizerFactory.java
index dafc4b87730..dfa177a7fbf 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/AbstractTokenizerFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/AbstractTokenizerFactory.java
@@ -24,9 +24,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.index.AbstractIndexComponent;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public abstract class AbstractTokenizerFactory extends AbstractIndexComponent implements TokenizerFactory {
private final String name;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/AnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/AnalyzerProvider.java
index ef49d5c8dac..b31d9851edf 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/AnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/AnalyzerProvider.java
@@ -22,9 +22,6 @@ package org.elasticsearch.index.analysis;
import org.apache.lucene.analysis.Analyzer;
import org.elasticsearch.common.inject.Provider;
-/**
- *
- */
public interface AnalyzerProvider extends Provider {
String name();
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/AnalyzerScope.java b/core/src/main/java/org/elasticsearch/index/analysis/AnalyzerScope.java
index c4795d7a455..4ff06664f76 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/AnalyzerScope.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/AnalyzerScope.java
@@ -19,9 +19,6 @@
package org.elasticsearch.index.analysis;
-/**
- *
- */
public enum AnalyzerScope {
INDEX,
INDICES,
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/ArabicAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/ArabicAnalyzerProvider.java
index 4b185c450d5..fffa594b9e1 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/ArabicAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/ArabicAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class ArabicAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final ArabicAnalyzer arabicAnalyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/ArabicNormalizationFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/ArabicNormalizationFilterFactory.java
index 265e050efee..15ed250e00c 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/ArabicNormalizationFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/ArabicNormalizationFilterFactory.java
@@ -24,9 +24,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class ArabicNormalizationFilterFactory extends AbstractTokenFilterFactory implements MultiTermAwareComponent {
public ArabicNormalizationFilterFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) {
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/ArabicStemTokenFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/ArabicStemTokenFilterFactory.java
index 91a68386f61..909352aeae8 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/ArabicStemTokenFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/ArabicStemTokenFilterFactory.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class ArabicStemTokenFilterFactory extends AbstractTokenFilterFactory {
public ArabicStemTokenFilterFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) {
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/ArmenianAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/ArmenianAnalyzerProvider.java
index b58b8a87886..c53d9da8676 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/ArmenianAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/ArmenianAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class ArmenianAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final ArmenianAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/BasqueAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/BasqueAnalyzerProvider.java
index 17f601084b8..cd91cb7522c 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/BasqueAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/BasqueAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class BasqueAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final BasqueAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/BrazilianAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/BrazilianAnalyzerProvider.java
index 872d1fb708a..c2640390f2d 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/BrazilianAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/BrazilianAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class BrazilianAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final BrazilianAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/BrazilianStemTokenFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/BrazilianStemTokenFilterFactory.java
index efcc1bfba90..abbd89b3a14 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/BrazilianStemTokenFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/BrazilianStemTokenFilterFactory.java
@@ -26,9 +26,7 @@ import org.apache.lucene.analysis.CharArraySet;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
+
public class BrazilianStemTokenFilterFactory extends AbstractTokenFilterFactory {
private final CharArraySet exclusions;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/BulgarianAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/BulgarianAnalyzerProvider.java
index 4eddc84d310..b1017a1ee7d 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/BulgarianAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/BulgarianAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class BulgarianAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final BulgarianAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/CatalanAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/CatalanAnalyzerProvider.java
index cd03649febc..25328421f99 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/CatalanAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/CatalanAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class CatalanAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final CatalanAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/CharFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/CharFilterFactory.java
index b76af08a0d1..68692c89469 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/CharFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/CharFilterFactory.java
@@ -21,9 +21,6 @@ package org.elasticsearch.index.analysis;
import java.io.Reader;
-/**
- *
- */
public interface CharFilterFactory {
String name();
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/CjkAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/CjkAnalyzerProvider.java
index 1728a4a3f7e..dd7f61f706c 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/CjkAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/CjkAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class CjkAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final CJKAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/CommonGramsTokenFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/CommonGramsTokenFilterFactory.java
index da1ca022685..eb6dae82061 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/CommonGramsTokenFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/CommonGramsTokenFilterFactory.java
@@ -27,9 +27,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class CommonGramsTokenFilterFactory extends AbstractTokenFilterFactory {
private final CharArraySet words;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/CustomAnalyzer.java b/core/src/main/java/org/elasticsearch/index/analysis/CustomAnalyzer.java
index b68a321359e..6185f358568 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/CustomAnalyzer.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/CustomAnalyzer.java
@@ -25,9 +25,6 @@ import org.apache.lucene.analysis.Tokenizer;
import java.io.Reader;
-/**
- *
- */
public final class CustomAnalyzer extends Analyzer {
private final TokenizerFactory tokenizerFactory;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/CzechAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/CzechAnalyzerProvider.java
index f1487d198b5..f93e9e16e5e 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/CzechAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/CzechAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class CzechAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final CzechAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/DanishAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/DanishAnalyzerProvider.java
index 041ca52c428..22e4dc07d0d 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/DanishAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/DanishAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class DanishAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final DanishAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/DelimitedPayloadTokenFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/DelimitedPayloadTokenFilterFactory.java
index d620e058e3e..12d0a041bd5 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/DelimitedPayloadTokenFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/DelimitedPayloadTokenFilterFactory.java
@@ -29,9 +29,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class DelimitedPayloadTokenFilterFactory extends AbstractTokenFilterFactory {
public static final char DEFAULT_DELIMITER = '|';
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/DutchAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/DutchAnalyzerProvider.java
index 1c33131624e..c747a9a5a3d 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/DutchAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/DutchAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class DutchAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final DutchAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/DutchStemTokenFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/DutchStemTokenFilterFactory.java
index daa67b00d34..9a486227a22 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/DutchStemTokenFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/DutchStemTokenFilterFactory.java
@@ -28,9 +28,6 @@ import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
import org.tartarus.snowball.ext.DutchStemmer;
-/**
- *
- */
public class DutchStemTokenFilterFactory extends AbstractTokenFilterFactory {
private final CharArraySet exclusions;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/EdgeNGramTokenFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/EdgeNGramTokenFilterFactory.java
index 82ed526323d..9d287d90c83 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/EdgeNGramTokenFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/EdgeNGramTokenFilterFactory.java
@@ -28,9 +28,6 @@ import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class EdgeNGramTokenFilterFactory extends AbstractTokenFilterFactory {
private final int minGram;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/EdgeNGramTokenizerFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/EdgeNGramTokenizerFactory.java
index 77d122393ce..cb696219f4e 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/EdgeNGramTokenizerFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/EdgeNGramTokenizerFactory.java
@@ -28,9 +28,6 @@ import org.elasticsearch.index.IndexSettings;
import static org.elasticsearch.index.analysis.NGramTokenizerFactory.parseTokenChars;
-/**
- *
- */
public class EdgeNGramTokenizerFactory extends AbstractTokenizerFactory {
private final int minGram;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/ElisionTokenFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/ElisionTokenFilterFactory.java
index 0b94fb301a1..0859824370b 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/ElisionTokenFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/ElisionTokenFilterFactory.java
@@ -26,9 +26,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class ElisionTokenFilterFactory extends AbstractTokenFilterFactory implements MultiTermAwareComponent {
private final CharArraySet articles;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/EnglishAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/EnglishAnalyzerProvider.java
index bcb7889253d..d124f27db57 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/EnglishAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/EnglishAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class EnglishAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final EnglishAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/FieldNameAnalyzer.java b/core/src/main/java/org/elasticsearch/index/analysis/FieldNameAnalyzer.java
index 34829cedeed..dbb355ea51c 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/FieldNameAnalyzer.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/FieldNameAnalyzer.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.collect.CopyOnWriteHashMap;
import java.util.Map;
-/**
- *
- */
public final class FieldNameAnalyzer extends DelegatingAnalyzerWrapper {
private final Map analyzers;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/FingerprintTokenFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/FingerprintTokenFilterFactory.java
index 9d41044abf7..55623e8f831 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/FingerprintTokenFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/FingerprintTokenFilterFactory.java
@@ -27,9 +27,6 @@ import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class FingerprintTokenFilterFactory extends AbstractTokenFilterFactory {
private final char separator;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/FinnishAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/FinnishAnalyzerProvider.java
index 3a2b3292480..5f728619f9e 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/FinnishAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/FinnishAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class FinnishAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final FinnishAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/FrenchAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/FrenchAnalyzerProvider.java
index ff848dc681b..f312161819d 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/FrenchAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/FrenchAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class FrenchAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final FrenchAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/FrenchStemTokenFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/FrenchStemTokenFilterFactory.java
index e24dc86a22e..1a6ca73792e 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/FrenchStemTokenFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/FrenchStemTokenFilterFactory.java
@@ -28,9 +28,6 @@ import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
import org.tartarus.snowball.ext.FrenchStemmer;
-/**
- *
- */
public class FrenchStemTokenFilterFactory extends AbstractTokenFilterFactory {
private final CharArraySet exclusions;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/GalicianAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/GalicianAnalyzerProvider.java
index 6f6521f52f7..646fa9fa681 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/GalicianAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/GalicianAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class GalicianAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final GalicianAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/GermanAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/GermanAnalyzerProvider.java
index a55df0f1b8a..c11ac7eb9ba 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/GermanAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/GermanAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class GermanAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final GermanAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/GermanStemTokenFilterFactory.java b/core/src/main/java/org/elasticsearch/index/analysis/GermanStemTokenFilterFactory.java
index 72e66c29dfd..eedb59e9141 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/GermanStemTokenFilterFactory.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/GermanStemTokenFilterFactory.java
@@ -27,9 +27,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class GermanStemTokenFilterFactory extends AbstractTokenFilterFactory {
private final CharArraySet exclusions;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/GreekAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/GreekAnalyzerProvider.java
index 4550af52cec..625acddfadc 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/GreekAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/GreekAnalyzerProvider.java
@@ -24,9 +24,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class GreekAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final GreekAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/HindiAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/HindiAnalyzerProvider.java
index 85e08764dc3..123117abced 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/HindiAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/HindiAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class HindiAnalyzerProvider extends AbstractIndexAnalyzerProvider {
private final HindiAnalyzer analyzer;
diff --git a/core/src/main/java/org/elasticsearch/index/analysis/HungarianAnalyzerProvider.java b/core/src/main/java/org/elasticsearch/index/analysis/HungarianAnalyzerProvider.java
index f5a09f2ce3a..99268ee7ee9 100644
--- a/core/src/main/java/org/elasticsearch/index/analysis/HungarianAnalyzerProvider.java
+++ b/core/src/main/java/org/elasticsearch/index/analysis/HungarianAnalyzerProvider.java
@@ -25,9 +25,6 @@ import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.index.IndexSettings;
-/**
- *
- */
public class HungarianAnalyzerProvider extends AbstractIndexAnalyzerProvider