Skip to content

Commit 9feaa1c

Browse files
authored
sync FT.AGGREGATE (#815)
* sync FT.AGGREGATE * update command definition and generate the code * Maintain struct consistency
1 parent c48ce19 commit 9feaa1c

File tree

5 files changed

+461
-366
lines changed

5 files changed

+461
-366
lines changed

Diff for: hack/cmds/commands_search.json

+24-18
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,12 @@
12031203
"VERBATIM"
12041204
]
12051205
},
1206+
{
1207+
"name": "scorer",
1208+
"type": "string",
1209+
"optional": true,
1210+
"command": "SCORER"
1211+
},
12061212
{
12071213
"name": "timeout",
12081214
"type": "integer",
@@ -1241,6 +1247,24 @@
12411247
}
12421248
]
12431249
},
1250+
{
1251+
"name": "apply",
1252+
"type": "block",
1253+
"optional": true,
1254+
"multiple": true,
1255+
"block": [
1256+
{
1257+
"name": "expression",
1258+
"type": "string",
1259+
"command": "APPLY"
1260+
},
1261+
{
1262+
"name": "name",
1263+
"type": "string",
1264+
"command": "AS"
1265+
}
1266+
]
1267+
},
12441268
{
12451269
"name": "groupby",
12461270
"type": "block",
@@ -1351,24 +1375,6 @@
13511375
}
13521376
]
13531377
},
1354-
{
1355-
"name": "apply",
1356-
"type": "block",
1357-
"optional": true,
1358-
"multiple": true,
1359-
"block": [
1360-
{
1361-
"name": "expression",
1362-
"type": "string",
1363-
"command": "APPLY"
1364-
},
1365-
{
1366-
"name": "name",
1367-
"type": "string",
1368-
"command": "AS"
1369-
}
1370-
]
1371-
},
13721378
{
13731379
"name": "limit",
13741380
"type": "block",

0 commit comments

Comments
 (0)