New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples in README do not work #110
Comments
Query.Filter Is indeed private but it shouldn't impose an issue in pure Java, but I don't see a reason not to make it public. |
As for the |
i tested a bit more and indeed it works fine in java, no idea why kotlin is having issues there |
@NikkyAI I hope 1.8.1 https://github.com/RediSearch/JRediSearch/releases/tag/v1.8.1 should fix the kotlin issues. |
first of all.. i am a total noob in redis and i am doing this using kotlin, so i might be making some really stupid errors here
using version
1.8.0
java 8
and writing my code in kotlin
i am running redis in docker and i am using https://hub.docker.com/r/redislabs/redismod/ latest
the first block of code
this seems to break because the argument type
Query.Filter
ofaddFilter
is a private inner class so this is being thrown:i tried with java 11 too but there the error just gets more confusing
the other error is more of a runtime error
after adding all the extra fields to the index (looks like it should work)
the aggregate qury fails with a classcast exception, seems like jedis returns a JedisDataException that is blindly casted to
byte[]
code
the exception is
and points to here
JRediSearch/src/main/java/io/redisearch/AggregationResult.java
Line 33 in f48f3f1
when i run this query in RedisInsight i get a error as well, so i guess there is something wrong with the logic as well..
The text was updated successfully, but these errors were encountered: