RedisJSON 2 Adds Indexing Option
Written by Kay Ewbank   
Monday, 21 March 2022

Redis has introduced RedisJSON 2, an enhanced version of the Redis module that implements the JSON Data Interchange Standard as a native data type. The module can be used to store, update and fetch JSON values from Redis documents.

Redis is an open source, BSD licensed, advanced key-value store where the keys can contain strings, hashes, lists, sets and sorted sets. It’s popular for web development as a session state store because of its simplicity and rich data structure support.


RedisJSON is a module that provides full support for the JSON standard. It allows documents to be stored as binary data in a tree structure, allowing fast access to sub-elements, and enables typed atomic operations for all JSON values types.

The new release adds a number of important features, including native indexing, the ability to create queries, and full-text search support powered by RediSearch.

The use of RediSearch means that synchronous indexing support has also been added. RediSearch indexes synchronously, meaning that once an index is created, every write or update operation can be immediately seen in the next query or search operation.

The new version also adds support for atomic sub-element updates in memory, based on JSON Data Interchange Format as a native data type.

The module is fully supported by most of the main Redis client libraries for languages, including JavaScript, Python, Java, and C#, and can run on the main platforms (Spring, ASP.NET, Node.js, and DJango).

Yiftach Shoolman, Co-Founder and CTO at Redis, said that the company has:

"reimagined RedisJSON, so companies no longer have to choose between rigid schemas of legacy relational databases and poor performing, disk-based document stores. RedisJSON now offers a powerful in-memory document store with native indexing, querying, and full-text search––all at the speed of Redis––to address all traditional content, catalog, and profile management use cases for a modern document database.”



More Information

Redis Website

RedisJSON On GitHub

Related Articles

Redis Founder Steps Back

Redis Adds TimeSeries And AI Support

Redis Adds Streams Support

Microsoft Expands Redis Support 

No Bug Fixes In Redis 2.8.9 


To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.


GR00T Could Be The Robot You Have Always Wanted

We may not have flying cars, but we could well soon have robots that match up to predictions for the 21st century. Nvidia has announced GR00T, a cleverly named project to build robots using foundation [ ... ]

Quantum Computers Really Are A One Trick Pony

Google is offering $5 million if you can think up a use for a quantum computer. Wait, I thought quantum computers were the next big thing, a revolution! Surely we know what they can do?

More News

raspberry pi books



or email your comment to: