Skip to content

cluster.ft functions missing after upgrading to V5 #3064

Description

@alexchaoss

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions