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
The test passes successfully - I was able to both create and drop an index containing a newline character without any explicit quoting needed. The command encoding appears to be handling special characters correctly.
That said, I tested this on OSX / v23.1.0, not on Linux / v18.12.1 as in your environment. Could you try running packages/search/lib/commands/DROPINDEX.spec.ts locally with modified index names and share the test output with us?
Description
Having index
index\ntest
This will fail
FT.DROPINDEX index\ntest
This will work
FT.DROPINDEX "index\ntest"
The library doesn't enclose names in
"
soclient.dropIndex("index\ntest")
failsNode.js Version
v18.12.1
Redis Server Version
7.4.0
Node Redis Version
4.7.0
Platform
Linux
Logs
No response
The text was updated successfully, but these errors were encountered: