You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RediSearch provides a special syntax for data query, while its semantics has no difference than a subset of SQL DQL.
To be comatible with RediSearch, we should support such query syntax. However, if we can also offer a SQL-like syntax simultaneously, it will greatly benefit users and minimize the learning curve. (Especially since the Redis query syntax is weird and has huge semantic gaps between different versions: v1 and v2.)
To support both syntaxes simultaneously, we can design a unified intermediate representation (called Kvrocks Query Intermediate Representation, KQIR) and transform both syntaxes into this representation when processing user input.
Hence, the frontend of KQIR will be:
Redis query syntax (v2) and FT.SEARCH fields (for maintainance consideration, v1 will NOT be supported),
SQL select statement (try to be compatible with MySQL)
Detailed design will be provided soon.
The text was updated successfully, but these errors were encountered:
It is part of #2064.
RediSearch provides a special syntax for data query, while its semantics has no difference than a subset of SQL DQL.
To be comatible with RediSearch, we should support such query syntax. However, if we can also offer a SQL-like syntax simultaneously, it will greatly benefit users and minimize the learning curve. (Especially since the Redis query syntax is weird and has huge semantic gaps between different versions: v1 and v2.)
To support both syntaxes simultaneously, we can design a unified intermediate representation (called Kvrocks Query Intermediate Representation, KQIR) and transform both syntaxes into this representation when processing user input.
Hence, the frontend of KQIR will be:
Detailed design will be provided soon.
The text was updated successfully, but these errors were encountered: