diff --git a/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQuery.java b/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQuery.java index 288642dcf..fd094394a 100755 --- a/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQuery.java +++ b/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQuery.java @@ -71,7 +71,7 @@ public class BaseQuery implements Query { protected List rescorerQueries = new ArrayList<>(); @Nullable protected Boolean requestCache; protected List idsWithRouting = Collections.emptyList(); - protected final List runtimeFields = new ArrayList<>(); + protected List runtimeFields = new ArrayList<>(); @Nullable protected PointInTime pointInTime; private boolean queryIsUpdatedByConverter = false;