We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the CMS example have syntax errors and using wrong 'list' command, the content of picture should be this
# Reserve a new leaderboard filter > TOPK.RESERVE trending-stocks 12 50 4 0.9 "OK" # Add a new entries to the leaderboard > TOPK.ADD trending-stocks AAPL AMD MSFT INTC GOOG FB NFLX GME AMC TSLA 1) "null" ... # Get the leaderboard > TOPK.LIST trending-stocks 1) "AAPL" 2) "AMD" 3) "MSFT" ... # Get information about the leaderboard > TOPK.INFO trending-stocks 1) "k" 2) "12" 3) "width" 4) "50" 5) "depth" 6) "4" 7) "decay" 8) "0.90000000000000002" # Initializes a Count-Min Sketch > CMS.INITBYDIM cmstest 2000 5 "OK" # Increase the count of entries to the leaderboard information > CMS.INCRBY cmstest PEP 8 KO 16 AMZN 6 1) "8" 2) "16" 3) "6" # Returns the count for one or more items in a sketch > CMS.QUERY cmstest AAPL AMD AMZN PEP 1) "0" 2) "0" 3) "6" 4) "8" # Returns width, depth and total count of the sketch > CMS.INFO cmstest 1) "width" 2) "2000" 3) "depth" 4) "5" 5) "count" 6) "30"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
the CMS example have syntax errors and using wrong 'list' command, the content of picture should be this
The text was updated successfully, but these errors were encountered: