add nr_run(integer), author_email(keyword)
Signed-off-by: Lu Weitao luweitaobe@163.com --- sbin/es-jobs-mapping.sh | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/sbin/es-jobs-mapping.sh b/sbin/es-jobs-mapping.sh index 67b1ed14..0c2fc62d 100755 --- a/sbin/es-jobs-mapping.sh +++ b/sbin/es-jobs-mapping.sh @@ -148,6 +148,12 @@ else "upstream_commit": { "type": "keyword" }, + "base_commit": { + "type": "keyword" + }, + "nr_run": { + "type": "integer" + }, "my_email": { "type": "keyword" },
On Mon, Apr 26, 2021 at 11:17:08AM +0800, Xu Xijian wrote:
On Mon, Apr 26, 2021 at 09:28:25AM +0800, Lu Weitao wrote:
add nr_run(integer), author_email(keyword)
Better to explain: nr_run(integer): balabala author_email(keyword): ...
ok base_commit: for query jobs by base_commit, it's used to auto-compare base_commit and upsetream_commit
nr_run: - limit it's a integer - for search in future
--------- Thanks, Lu Weitao
Thanks, Xijian