From 2b484d2f74ab2146dd5bcb60e6159d636714c8ec Mon Sep 17 00:00:00 2001 From: luxin Date: Thu, 30 Jun 2022 20:27:22 +0800 Subject: [PATCH] opt keywords_must --- .../config.json" | 2 +- .../config.json" | 2 +- .../config.json" | 2 +- .../config.json" | 2 +- .../config.json" | 2 +- .../2.Window Function/config.json" | 6 +-- .../config.json" | 6 +-- .../4.Double Not Exists/config.json" | 2 +- .../config.json" | 5 +-- .../6.\344\272\213\345\212\241/config.json" | 5 +-- data/tree.json | 41 +++++++++++-------- 11 files changed, 35 insertions(+), 40 deletions(-) diff --git "a/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/1.\351\224\201\347\233\270\345\205\263/config.json" "b/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/1.\351\224\201\347\233\270\345\205\263/config.json" index 56c157d..2efb099 100644 --- "a/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/1.\351\224\201\347\233\270\345\205\263/config.json" +++ "b/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/1.\351\224\201\347\233\270\345\205\263/config.json" @@ -9,7 +9,7 @@ "export": [ "lock.json" ], - "keywords_must": [], + "keywords_must": ["mysql"], "keywords_forbid": [], "group": 0 } \ No newline at end of file diff --git "a/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/2.JSON\345\207\275\346\225\260/config.json" "b/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/2.JSON\345\207\275\346\225\260/config.json" index 3117201..e50eba8 100644 --- "a/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/2.JSON\345\207\275\346\225\260/config.json" +++ "b/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/2.JSON\345\207\275\346\225\260/config.json" @@ -7,7 +7,7 @@ "export": [ "json.json" ], - "keywords_must": [], + "keywords_must": ["mysql"], "keywords_forbid": [], "group": 2 } \ No newline at end of file diff --git "a/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/3.\347\252\227\345\217\243\345\207\275\346\225\260/config.json" "b/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/3.\347\252\227\345\217\243\345\207\275\346\225\260/config.json" index f27e5a8..501493b 100644 --- "a/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/3.\347\252\227\345\217\243\345\207\275\346\225\260/config.json" +++ "b/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/3.\347\252\227\345\217\243\345\207\275\346\225\260/config.json" @@ -11,7 +11,7 @@ "within.json", "distrubute.json" ], - "keywords_must": [], + "keywords_must": ["mysql"], "keywords_forbid": [], "group": 2 } \ No newline at end of file diff --git "a/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/4.\346\227\266\351\227\264\346\227\245\346\234\237\345\207\275\346\225\260/config.json" "b/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/4.\346\227\266\351\227\264\346\227\245\346\234\237\345\207\275\346\225\260/config.json" index 08b0f32..cc99a0f 100644 --- "a/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/4.\346\227\266\351\227\264\346\227\245\346\234\237\345\207\275\346\225\260/config.json" +++ "b/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/4.\346\227\266\351\227\264\346\227\245\346\234\237\345\207\275\346\225\260/config.json" @@ -28,7 +28,7 @@ "date.json", "dt_format.json" ], - "keywords_must": [], + "keywords_must": ["mysql"], "keywords_forbid": [], "group": 1 } \ No newline at end of file diff --git "a/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/5.\345\205\266\345\256\203\345\207\275\346\225\260/config.json" "b/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/5.\345\205\266\345\256\203\345\207\275\346\225\260/config.json" index be5b840..1daa36a 100644 --- "a/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/5.\345\205\266\345\256\203\345\207\275\346\225\260/config.json" +++ "b/data/2.MySQL\344\270\255\351\230\266/3.\345\206\205\347\275\256\345\207\275\346\225\260/5.\345\205\266\345\256\203\345\207\275\346\225\260/config.json" @@ -10,7 +10,7 @@ "cast.json", "convert.json" ], - "keywords_must": [], + "keywords_must": ["mysql"], "keywords_forbid": [], "group": 0 } \ No newline at end of file diff --git "a/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/2.Window Function/config.json" "b/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/2.Window Function/config.json" index e2dca65..25be853 100644 --- "a/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/2.Window Function/config.json" +++ "b/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/2.Window Function/config.json" @@ -8,11 +8,7 @@ "export": [ "salary.json" ], - "keywords_must": [ - "函数", - "function", - "window" - ], + "keywords_must": ["mysql"], "keywords_forbid": [], "group": 2 } \ No newline at end of file diff --git "a/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/3.\351\200\217\350\247\206\350\241\250 /config.json" "b/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/3.\351\200\217\350\247\206\350\241\250 /config.json" index 4b81f0f..39de68b 100644 --- "a/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/3.\351\200\217\350\247\206\350\241\250 /config.json" +++ "b/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/3.\351\200\217\350\247\206\350\241\250 /config.json" @@ -9,11 +9,7 @@ "export": [ "pivot.json" ], - "keywords_must": [ - "透视表", - "交叉透视表", - "pivot" - ], + "keywords_must": ["mysql"], "keywords_forbid": [], "group": 1 } \ No newline at end of file diff --git "a/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/4.Double Not Exists/config.json" "b/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/4.Double Not Exists/config.json" index cc7af85..d59135e 100644 --- "a/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/4.Double Not Exists/config.json" +++ "b/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/4.Double Not Exists/config.json" @@ -9,7 +9,7 @@ "export": [ "DoubleNotExists.json" ], - "keywords_must": [], + "keywords_must": ["mysql"], "keywords_forbid": [], "groups": 2 } \ No newline at end of file diff --git "a/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/5.\345\206\231\345\205\245\345\222\214\345\206\262\347\252\201/config.json" "b/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/5.\345\206\231\345\205\245\345\222\214\345\206\262\347\252\201/config.json" index a5457a1..7cd3cc7 100644 --- "a/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/5.\345\206\231\345\205\245\345\222\214\345\206\262\347\252\201/config.json" +++ "b/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/5.\345\206\231\345\205\245\345\222\214\345\206\262\347\252\201/config.json" @@ -9,10 +9,7 @@ "export": [ "score.json" ], - "keywords_must": [ - "conflict", - "冲突" - ], + "keywords_must": ["mysql"], "keywords_forbid": [], "group": 2 } \ No newline at end of file diff --git "a/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/6.\344\272\213\345\212\241/config.json" "b/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/6.\344\272\213\345\212\241/config.json" index 45ada7e..c6048c9 100644 --- "a/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/6.\344\272\213\345\212\241/config.json" +++ "b/data/3.MySQL\351\253\230\351\230\266/2.SQL\351\253\230\347\272\247\346\212\200\345\267\247/6.\344\272\213\345\212\241/config.json" @@ -8,10 +8,7 @@ "export": [ "transaction.json" ], - "keywords_must": [ - "事务", - "transaction" - ], + "keywords_must": [["mysql", "事务"]], "keywords_forbid": [], "group": 2 } \ No newline at end of file diff --git a/data/tree.json b/data/tree.json index 43546ec..93c4b57 100644 --- a/data/tree.json +++ b/data/tree.json @@ -901,7 +901,9 @@ "lock" ], "children": [], - "keywords_must": [], + "keywords_must": [ + "mysql" + ], "keywords_forbid": [], "group": 0 } @@ -913,7 +915,9 @@ "json" ], "children": [], - "keywords_must": [], + "keywords_must": [ + "mysql" + ], "keywords_forbid": [], "group": 2 } @@ -926,7 +930,9 @@ "窗口函数" ], "children": [], - "keywords_must": [], + "keywords_must": [ + "mysql" + ], "keywords_forbid": [], "group": 2 } @@ -948,7 +954,9 @@ "microsecond" ], "children": [], - "keywords_must": [], + "keywords_must": [ + "mysql" + ], "keywords_forbid": [], "group": 1 } @@ -962,7 +970,9 @@ "convert" ], "children": [], - "keywords_must": [], + "keywords_must": [ + "mysql" + ], "keywords_forbid": [], "group": 0 } @@ -1817,9 +1827,7 @@ ], "children": [], "keywords_must": [ - "函数", - "function", - "window" + "mysql" ], "keywords_forbid": [], "group": 2 @@ -1835,9 +1843,7 @@ ], "children": [], "keywords_must": [ - "透视表", - "交叉透视表", - "pivot" + "mysql" ], "keywords_forbid": [], "group": 1 @@ -1852,7 +1858,9 @@ "double not exists" ], "children": [], - "keywords_must": [], + "keywords_must": [ + "mysql" + ], "keywords_forbid": [], "group": 0 } @@ -1867,8 +1875,7 @@ ], "children": [], "keywords_must": [ - "conflict", - "冲突" + "mysql" ], "keywords_forbid": [], "group": 2 @@ -1883,8 +1890,10 @@ ], "children": [], "keywords_must": [ - "事务", - "transaction" + [ + "mysql", + "事务" + ] ], "keywords_forbid": [], "group": 2 -- GitLab