From eb9574975759bd85ff5de62b77ef283039663037 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 28 Feb 2022 14:55:23 +0800 Subject: [PATCH] fix: Elasticsearch sql, field_multi_value_leniency -> true; the API returns the first value from the array with no guarantee of consistent results. --- .../io/dataease/controller/request/datasource/es/Requst.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/java/io/dataease/controller/request/datasource/es/Requst.java b/backend/src/main/java/io/dataease/controller/request/datasource/es/Requst.java index f63cdc53b8..f69c4290cc 100644 --- a/backend/src/main/java/io/dataease/controller/request/datasource/es/Requst.java +++ b/backend/src/main/java/io/dataease/controller/request/datasource/es/Requst.java @@ -6,4 +6,5 @@ import lombok.Data; public class Requst { private String query; private Integer fetch_size = 10000; + private boolean field_multi_value_leniency = true; }