Skip to content

Redis.io Code Examples Index

Example ID: ss_tutorial

Available implementations and steps:

Language leaderboard zadd zadd_lex zrange zrange_withscores zrangebyscore zrank zremrangebyscore
C# + + + + + + + +
Python + + + + + + + +
Java + + + + + + + +

Used in:

Example ID: hash_tutorial

Available implementations and steps:

Language hincrby hmget incrby_get_mget set_get_all
C# + + + +
Node.js + + + +
Python + + + +
Java + + + +

Used in:

Example ID: search_quickstart

Available implementations and steps:

Language add_documents connect create_index data_sample query_exact_matching query_fuzzy_matching query_fuzzy_matching_level2 query_prefix_matching query_single_term query_single_term_and_num_range query_single_term_limit_fields query_suffix_matching query_wildcard_matching query_with_bm25_scorer query_with_default_scorer simple_aggregation wildcard_query
C# + + + + + - - - + + + - - - - + +
Node.js + + + + + - - - + - - - - - - - +
Python + + + + + + + + + + + + + + + + +
Java + + + - + - - - + + + - - - - + +

Used in:

Example ID: set_and_get

Available implementations and steps:

Language
C#
Go
Node.js
Python
Java

Used in:

Example ID: set_tutorial

Available implementations and steps:

Language incr mset set_get setnx_xx
C# + + + +
Python + + + +
Java + + + +

Used in:

Example ID: lpush_and_lrange

Available implementations and steps:

Language
Go

Used in:

Example ID: geo_tutorial

Available implementations and steps:

Language geoAdd geoSearch geoadd geosearch
Node.js + + - -
Python - - + +
Java - - + +

Used in:

Example ID: list_tutorial

Available implementations and steps:

Language brPop brpop lLen lMove_lRange lPop_rPop lPush_rPush lTrim lTrim.1 lTrim_end_of_list llen lmove_lrange lpop_rpop lpush_rpush ltrim ltrim.1 ltrim_end_of_list queue rule_1 rule_1.1 rule_2 rule_3 stack variadic
Node.js + - + + + + + + + - - - - - - - + + + + + + +
Python - + - - - - - - - + + + + + + + + + + + + + +
Java - + - - - - - - - + + + + + + + + + + + + + +

Used in:

Example ID: json_tutorial

Available implementations and steps:

Language arr arr2 filters get2mtnbikes get_bikes get_models get_mtnbikes num obj set_bikes set_get str update_bikes update_filters
Python + + + + + + + + + + + + + +

Used in:

Example ID: bitfield_tutorial

Available implementations and steps:

Language bf
Python +

Used in:

Example ID: bitmap_tutorial

Available implementations and steps:

Language bitcount ping
Python + +
Java + +

Used in:

Example ID: stream_tutorial

Available implementations and steps:

Language maxlen xack xadd xadd_2 xadd_7 xadd_bad_id xadd_id xautoclaim xautoclaim_cursor xclaim xdel xgroup_create xgroup_create_mkstream xgroup_read xgroup_read_bob xgroup_read_id xinfo xinfo_consumers xinfo_groups xlen xpending xpending_plus_minus xrange xrange_all xrange_empty xrange_pending xrange_step_1 xrange_step_2 xrange_time xread xread_block xrevrange xtrim xtrim2
Python + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Java + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Used in:

Example ID: cuckoo_tutorial

Available implementations and steps:

Language cuckoo
Python +
Java +

Used in:

Example ID: sets_tutorial

Available implementations and steps:

Language multisets sadd sadd_smembers scard sdiff sinter sismember smismember srem
Python + + + + + + + + +
Java + + + + + + + + +

Used in:

Example ID: tdigest_tutorial

Available implementations and steps:

Language tdig_cdf tdig_min tdig_quant tdig_reset tdig_start
Python + + + + +
Java + + + + +

Used in:

Example ID: hll_tutorial

Available implementations and steps:

Language pfadd
Python +
Java +

Used in:

Example ID: cms_tutorial

Available implementations and steps:

Language cms
Python +
Java +

Used in:

Example ID: search_vss

Available implementations and steps:

Language connect connection_test create_index def_bulk_queries define_bulk_query dump_data dump_example enc_bulk_queries generate_embeddings get get_data get_keys imports load_data load_embeddings run_hybrid_query run_knn_query run_range_query simple_query_1 simple_query_2 simple_query_3 validate_index
Python + + + + + + + + + + + + + + + + + + + + + +

Used in:

Example ID: topk_tutorial

Available implementations and steps:

Language topk
Python -
Java +

Used in:

Example ID: bf_tutorial

Available implementations and steps:

Language bloom
Python +
Java +

Used in:

Example ID: scan_example

Available implementations and steps:

Used in: