Redis and JSON Explained (Revisited)
Hungry for more Redis and JSON tips and tricks? Check out this video from Redis on how to create and update JSON documents in a Redis Stack instance! Then create secondary search indexes with Redis and Search to query Redis for some delicious results!
00:00 Introduction
00:32 Why we use Redis Stack
00:44 Intro to the use case
01:22 JSON.SET truck:42 – create and store a vendor JSON object
02:00 JSON.SET location:23 – create and store a location JSON object
02:21 JSON.SET event:11 – create and store an event JSON object
02:47 JSON.ARRAPPEND – ad an element to an existing JSON array
03:11 JSON.SET – adding to an existing JSON document
03:52 Redis Search & JSON
04:46 FT.CREATE – creating a search index for “truck:” JSON documents
05:55 FT.SEARCH – query for text within a search index
06:40 FT.SEARCH – query for TAG words within a search index
07:10 FT.CREATE – creating a search index for “event:” JSON. documents
07:51 FT.SEARCH – query for numeric range within a search index
08:26 Conclusion
Links:
RU204: Storing, Querying, and Indexing JSON at Speed: https://university.redis.com/courses/ru204/
Redis University → https://university.redis.com/
Redis → https://www.redis.com/
Redis Stack → https://redis.io/docs/stack/
Redis and JSON → https://redis.io/docs/stack/json/
Redis and Search → https://redis.io/docs/stack/search/
Need a Redis Cloud now? Sign up for a free Redis Cloud Essentials account → https://bit.ly/3xdTyMR
Join our discord server → https://discord.gg/redis
Comments are closed.