Skip to content

Commit 6b90e95

Browse files
committed
Mark sort in reindex for removal
This feature was deprecated in #47567 but its removal was never actioned. This commit adds a reminder to complete this task in v10.
1 parent 3721613 commit 6b90e95

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/reindex/src/main/java/org/elasticsearch/reindex/ReindexValidator.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import org.elasticsearch.common.logging.DeprecationLogger;
2929
import org.elasticsearch.common.regex.Regex;
3030
import org.elasticsearch.common.settings.Settings;
31+
import org.elasticsearch.core.UpdateForV10;
3132
import org.elasticsearch.index.IndexNotFoundException;
3233
import org.elasticsearch.index.reindex.ReindexRequest;
3334
import org.elasticsearch.index.reindex.RemoteInfo;
@@ -39,6 +40,8 @@
3940

4041
public class ReindexValidator {
4142
private static final DeprecationLogger deprecationLogger = DeprecationLogger.getLogger(ReindexValidator.class);
43+
44+
@UpdateForV10(owner = UpdateForV10.Owner.DISTRIBUTED_INDEXING) // see #47567: feature deprecated since 7.6, its removal is long overdue
4245
static final String SORT_DEPRECATED_MESSAGE = "The sort option in reindex is deprecated. "
4346
+ "Instead consider using query filtering to find the desired subset of data.";
4447

0 commit comments

Comments
 (0)