[Why] bellow doc will be store to ES { ... "pp":{ "sleep": 3600 } } or { .. "pp": { "sleep": {"runtime": 3600} } } both type doc will cause mapper-parsing-exceptions
Signed-off-by: Lu Weitao luweitaobe@163.com --- sbin/es-jobs-mapping.sh | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/sbin/es-jobs-mapping.sh b/sbin/es-jobs-mapping.sh index 5cb9b9c..5713cbf 100755 --- a/sbin/es-jobs-mapping.sh +++ b/sbin/es-jobs-mapping.sh @@ -79,6 +79,10 @@ else "dynamic": true, "properties": {} }, + "pp.sleep":{ + "type": "object", + "enabled": false + }, "suite": { "type": "keyword" },
Improve your subject.
Thanks, Xueliang
On Thu, Dec 17, 2020 at 11:56:59AM +0800, Lu Weitao wrote:
[Why] bellow doc will be store to ES { ... "pp":{ "sleep": 3600 } } or { .. "pp": { "sleep": {"runtime": 3600} } } both type doc will cause mapper-parsing-exceptions
Signed-off-by: Lu Weitao luweitaobe@163.com
sbin/es-jobs-mapping.sh | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/sbin/es-jobs-mapping.sh b/sbin/es-jobs-mapping.sh index 5cb9b9c..5713cbf 100755 --- a/sbin/es-jobs-mapping.sh +++ b/sbin/es-jobs-mapping.sh @@ -79,6 +79,10 @@ else "dynamic": true, "properties": {} },
"pp.sleep":{
"type": "object",
"enabled": false
}, "suite": { "type": "keyword" },
-- 2.23.0
On Thu, Dec 17, 2020 at 11:59:25AM +0800, Cao Xueliang wrote:
Improve your subject.
ok
Thanks, weitao
Thanks, Xueliang
On Thu, Dec 17, 2020 at 11:56:59AM +0800, Lu Weitao wrote:
[Why] bellow doc will be store to ES { ... "pp":{ "sleep": 3600 } } or { .. "pp": { "sleep": {"runtime": 3600} } } both type doc will cause mapper-parsing-exceptions
Signed-off-by: Lu Weitao luweitaobe@163.com
sbin/es-jobs-mapping.sh | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/sbin/es-jobs-mapping.sh b/sbin/es-jobs-mapping.sh index 5cb9b9c..5713cbf 100755 --- a/sbin/es-jobs-mapping.sh +++ b/sbin/es-jobs-mapping.sh @@ -79,6 +79,10 @@ else "dynamic": true, "properties": {} },
"pp.sleep":{
"type": "object",
"enabled": false
}, "suite": { "type": "keyword" },
-- 2.23.0
On Thu, Dec 17, 2020 at 11:56:59AM +0800, Lu Weitao wrote:
[Why] bellow doc will be store to ES { ... "pp":{ "sleep": 3600 } } or { .. "pp": { "sleep": {"runtime": 3600} } } both type doc will cause mapper-parsing-exceptions
Signed-off-by: Lu Weitao luweitaobe@163.com
sbin/es-jobs-mapping.sh | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/sbin/es-jobs-mapping.sh b/sbin/es-jobs-mapping.sh index 5cb9b9c..5713cbf 100755 --- a/sbin/es-jobs-mapping.sh +++ b/sbin/es-jobs-mapping.sh @@ -79,6 +79,10 @@ else "dynamic": true, "properties": {} },
"pp.sleep":{
"type": "object",
"enabled": false
^---keep aligned before. Thanks, Liushaofei
}, "suite": { "type": "keyword" },
-- 2.23.0
On Thu, Dec 17, 2020 at 12:01:43PM +0800, Liu Shaofei wrote:
On Thu, Dec 17, 2020 at 11:56:59AM +0800, Lu Weitao wrote:
[Why] bellow doc will be store to ES diff --git a/sbin/es-jobs-mapping.sh b/sbin/es-jobs-mapping.sh index 5cb9b9c..5713cbf 100755 --- a/sbin/es-jobs-mapping.sh +++ b/sbin/es-jobs-mapping.sh @@ -79,6 +79,10 @@ else "dynamic": true, "properties": {} },
"pp.sleep":{
"type": "object",
"enabled": false
^---keep aligned before. Thanks, Liushaofei
ok
Thanks, Weitao
}, "suite": { "type": "keyword" },
-- 2.23.0