-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
Description
I didn't see anything about this in the migration documents, but after upgrading to V5 I only have a limited access to the search functions (some aggregate functions and suggestion functions), but functions such as create, search, _list and most other functions are not exposed anymore with cluster type.
Am I missing something?
For exemple client.ft.search
is defined but cluster.ft.search
is not.
Node.js Version
22
Redis Server Version
7.0.2
Node Redis Version
5.8.2
Platform
macOS
Logs
Property 'create' does not exist on type '{ _LIST: CommandSignature<{ readonly NOT_KEYED_COMMAND: true; readonly IS_READ_ONLY: true; readonly parseCommand: (this: void, parser: CommandParser) => void; readonly transformReply: { readonly 2: () => ArrayReply<...>; readonly 3: () => SetReply<...>; }; }, 2, {}>; ... 66 more ...; tagVals: CommandSignature<...>; ...'.
Property 'create' does not exist on type '{ AGGREGATE_WITHCURSOR: CommandSignature<{ readonly IS_READ_ONLY: false; readonly parseCommand: (this: void, parser: CommandParser, index: RedisArgument, query: RedisArgument, options?: FtAggregateWithCursorOptions | undefined) => void; readonly transformReply: { ...; }; readonly unstableResp3: true; }, 2, {}>; ... ...'.ts(2339)