Closed RazmikGevorgyan closed 4 years ago
That message is coming directly from the server, so it isn't a library exception as such; I expect what you need here is:
var res = await database.ExecuteAsync("BF.INSERT", "filter", "CAPACITY", 10, "ITEMS", "hello");
I also suspect that for "cluster", you should use:
var res = await database.ExecuteAsync("BF.INSERT", (RedisKey)"filter", "CAPACITY", 10, "ITEMS", "hello");
to ensure that the shard is picked correctly (routing is based on keys - you need to tell it which values are actually keys)
Thanks a lot works as expected
StackExchange.Redis Version 2.1.58 RedisBloom release version v2.2.4
I am trying to insert an item with the stated capacity, but I get an exception
exceptionMessage
StackExchange.Redis.RedisServerException: 'Bad capacity'
exceptionhow to reproduce