{"record":{"id":"2dfd7ccf8bcdcce7","repo":"redis/go-redis","slug":"ftexplaincli-is-not-implemented","errorCode":null,"errorMessage":"FTExplainCli is not implemented","messagePattern":"FTExplainCli is not implemented","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"search_commands.go","lineNumber":1741,"sourceCode":"// The 'index' parameter specifies the index to query, the 'query' parameter specifies the query string, and the 'options' parameter specifies the Dialect for the query.\n// For more information, please refer to the Redis documentation:\n// [FT.EXPLAIN]: (https://redis.io/commands/ft.explain/)\nfunc (c cmdable) FTExplainWithArgs(ctx context.Context, index string, query string, options *FTExplainOptions) *StringCmd {\n\targs := []interface{}{\"FT.EXPLAIN\", index, query}\n\tif options.Dialect != \"\" {\n\t\targs = append(args, \"DIALECT\", options.Dialect)\n\t} else {\n\t\targs = append(args, \"DIALECT\", 2)\n\t}\n\tcmd := NewStringCmd(ctx, args...)\n\t_ = c(ctx, cmd)\n\treturn cmd\n}\n\n// FTExplainCli - Returns the execution plan for a complex query. [Not Implemented]\n// For more information, see https://redis.io/commands/ft.explaincli/\nfunc (c cmdable) FTExplainCli(ctx context.Context, key, path string) error {\n\treturn fmt.Errorf(\"FTExplainCli is not implemented\")\n}\n\n// parseFTAttributeFromMap parses an FTAttribute from a RESP3 map format\nfunc parseFTAttributeFromMap(attrMap map[interface{}]interface{}) FTAttribute {\n\tatt := FTAttribute{}\n\tfor k, v := range attrMap {\n\t\tkey := internal.ToLower(internal.ToString(k))\n\t\tswitch key {\n\t\tcase \"attribute\":\n\t\t\tatt.Attribute = internal.ToString(v)\n\t\tcase \"identifier\":\n\t\t\tatt.Identifier = internal.ToString(v)\n\t\tcase \"type\":\n\t\t\tatt.Type = internal.ToString(v)\n\t\tcase \"weight\":\n\t\t\tatt.Weight = internal.ToFloat(v)\n\t\tcase \"phonetic\":\n\t\t\tatt.PhoneticMatcher = internal.ToString(v)","sourceCodeStart":1723,"sourceCodeEnd":1759,"githubUrl":"https://github.com/redis/go-redis/blob/c5cad058c72f58370553b48566302303cf8a2e89/search_commands.go#L1723-L1759","documentation":"Error \"FTExplainCli is not implemented\" thrown in redis/go-redis.","triggerScenarios":"Thrown at search_commands.go:1741 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c5cad058c72f58370553b48566302303cf8a2e89","analyzedAt":"2026-09-01T06:50:53.388Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}