diff --git a/README.md b/README.md index 02f13e6..7d1b010 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ bloomFilter.madd(new String[] {"a", "b", "c"}); TopKFilter topKFilter = redisBloomClient.getTopKFilter("topk_add"); topKFilter.reserve(1, 2000, 7, 0.925d); topKFilter.add("test"); -List itemExits = topKFilter.searchOptions("test"); +List itemExits = topKFilter.query("test"); Map itemIncrement = new HashMap<>(); itemIncrement.put("test", 3); topKFilter.incrby(itemIncrement); diff --git a/redisbloom/README.md b/redisbloom/README.md index bbe25ea..81bccb1 100644 --- a/redisbloom/README.md +++ b/redisbloom/README.md @@ -27,13 +27,13 @@ CF.INFO | CuckooFilter.
getInfo()
getInfoAsync() | CMS.INITBYDIM | CountMinSketch.
create()
createAsync() | CMS.INITBYPROB | CountMinSketch.
create()
createAsync() | CMS.INCRBY | CountMinSketch.
incrby()
incrbyAsync() | -CMS.QUERY | CountMinSketch.
searchOptions()
queryAsync() | +CMS.QUERY | CountMinSketch.
query()
queryAsync() | CMS.MERGE | CountMinSketch.
merge()
mergeAsync() | CMS.INFO | CountMinSketch.
getInfo()
getInfoAsync() | TOPK.RESERVE | TopKFilter.
reserve()
reserveAsync() | TOPK.ADD | TopKFilter.
add()
addAsync() | TOPK.INCRBY | TopKFilter.
incrby()
incrbyAsync() | -TOPK.QUERY | TopKFilter.
searchOptions()
queryAsync() | +TOPK.QUERY | TopKFilter.
query()
queryAsync() | TOPK.COUNT | TopKFilter.
count()
countAsync() | TOPK.LIST | TopKFilter.
list()
listAsync() | TOPK.INFO | TopKFilter.
getInfo()
getInfoAsync() |