Add "group_id" index, so we can search by group_id in es. "group_id" parameter identifies a group of jobs and is specified by users.
Signed-off-by: Wu Zhende wuzhende666@163.com --- sbin/es-jobs-mapping.sh | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/sbin/es-jobs-mapping.sh b/sbin/es-jobs-mapping.sh index b43625e..9c9f7b6 100755 --- a/sbin/es-jobs-mapping.sh +++ b/sbin/es-jobs-mapping.sh @@ -104,6 +104,9 @@ else "submit_id": { "type": "keyword" }, + "group_id": { + "type": "keyword" + }, "id": { "type": "keyword" },