Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.IsArray Signed-off-by: Rueian <[email protected]>
- Loading branch information