From f3b8e7c23813863b562ec7399d1268d3a94d7f68 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Tue, 11 Oct 2016 12:29:55 -0400 Subject: [PATCH] Add `s` to _cat response parameters `s` is used for sorting! Relates to #20658 --- .../org/elasticsearch/rest/action/cat/AbstractCatAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/rest/action/cat/AbstractCatAction.java b/core/src/main/java/org/elasticsearch/rest/action/cat/AbstractCatAction.java index 86739046eb9..7289e9c76e7 100644 --- a/core/src/main/java/org/elasticsearch/rest/action/cat/AbstractCatAction.java +++ b/core/src/main/java/org/elasticsearch/rest/action/cat/AbstractCatAction.java @@ -76,7 +76,7 @@ public abstract class AbstractCatAction extends BaseRestHandler { } static Set RESPONSE_PARAMS = - Collections.unmodifiableSet(new HashSet<>(Arrays.asList("format", "h", "v", "ts", "pri", "bytes", "size", "time"))); + Collections.unmodifiableSet(new HashSet<>(Arrays.asList("format", "h", "v", "ts", "pri", "bytes", "size", "time", "s"))); @Override protected Set responseParams() {