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
fix: handle String values from Redis FT.INFO in count() method (#639)
Fixes ClassCastException when count() method receives "num_docs" as a String
from Redis FT.INFO command instead of a numeric type. The method now properly
handles both String and Number types by parsing or converting them to long.
- Parse String values using Long.parseLong()
- Convert Number values using longValue()
- Return 0 for null or unexpected types
- Added test case to verify fix in EntityStreamsIssuesTest
Closes#639
0 commit comments