Commit 131aad3
authored
Feat rueidiscompat redisearch (#676)
* feat: wip: implement SearchCmdable
* feat(RediSearch): wip
* feat(RediSearch): wip: fixme: why not impl FTAggregate
* feat(RediSearch): wip: FTSpellCheckCmd
* feat(RediSearch): wip: FTAggregate
* feat: wip: implement SearchCmdable: FTAggregateWithArgs
* wip: ft aggregate: reduce
* wip: ft aggregate: params
* feat: add ADDSCORES option to FT_AGGREGATE command
* feat: FT_CREATE: add GEOSHAPE fieldType
* wip: FT_EXPLAIN
* wip: FT_SEARCH: filter
* feat: FT_SEARCH: add WITHCOUNT option
* feat: FT_SEARCH
* feat(rueidiscompat/SearchCmdable): done
* feat(rueidiscompat/SearchCmdable): wip: fix teste
* fix(FTSearchCmd): impl FTSearchCmd.from
* fix(FTSearchCmd): fix FTSearchWithArgs: geofilter
* feat(hack/cmds/commands_search.json): FT.CREATE: add WITHSUFFIXTRIE, INDEXEMPTY, INDEXMISSING options
* fix(FTCreateCmd): fix failed tests
* feat(hack/cmds/commands_search.json): FT.AGGREGATE: add missing WITHCOUNT option
* fix(FTAggregate): fix sortby limit test case
* fix(FT.SEARCH): fix tests
* refactor(adapter_test.go): add testAdapterSearchRESP2, testAdapterSearchRESP3 and compat-redisearch
* fix(FT.SEARCH): add correct impl (array reply)
* minor tweaks
* fix: FT.INFO, FT.SPELLCHECK
* doc(util.go): add liscence
* feat(FT.CONFIG_GET): impl
* feat(FT.SYNDUMP, FTSYNUPDATE): impl
* feat(FT.SEARCH): fix params
* fix(FT.SEARCH): fix test: should FTCreate GeoShape
* fix(FT.SEARCH): fix test: should search missing fields
* fix(testAdapterSearchRESP2): make tests PASS
* wip: RESP3
* refactor(pipeline.go): remove unused var
* feat(message.go): add IsMap, IsArray helper
* feat(FT.SEARCH): fix resp3 tests
* fix tests
* fix tests
* refactor: add docs
* refactor: remove unused comment
* refactor: remove unused debug log
* refactor: remove ginkgo focus
* refactor(search_command.json): revert unrelated change
* minor tweaks
* fix: revert accidentally committed code in RedisResult.ToMap
* refactor(util.go): remove unused function
* refactor(message.go): remove RedisResult.IsMap, RedisResult.IsArray1 parent 1c5e799 commit 131aad3
File tree
9 files changed
+4953
-335
lines changed- hack/cmds
- internal/cmds
- rueidiscompat
9 files changed
+4953
-335
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| |||
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 186 | | |
194 | 187 | | |
195 | 188 | | |
| |||
253 | 246 | | |
254 | 247 | | |
255 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
256 | 273 | | |
257 | 274 | | |
258 | 275 | | |
| |||
1092 | 1109 | | |
1093 | 1110 | | |
1094 | 1111 | | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
1095 | 1120 | | |
1096 | 1121 | | |
1097 | 1122 | | |
| |||
1315 | 1340 | | |
1316 | 1341 | | |
1317 | 1342 | | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
1318 | 1351 | | |
1319 | 1352 | | |
1320 | 1353 | | |
| |||
1422 | 1455 | | |
1423 | 1456 | | |
1424 | 1457 | | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
1425 | 1466 | | |
1426 | 1467 | | |
1427 | 1468 | | |
| |||
0 commit comments