Working with Hashes
The capabilities we’ve introduced so far have been explored through concise examples using cities and countries from the World dataset. In this section, we’ll consider a full-fledged use case, such as an application that stores and searches documents: a knowledge base (along the same lines, we could think of a learning management system, a blogging platform, or a generic and extensible content management system (CMS) or even a customer relationship management (CRM) tool). This kind of application works pretty well to present a walk-through of Redis Stack when used as a document store as we need solid classification and search capabilities to provide the best user experience, together with friendly user flows and, as usual, the real-time performance that is only possible when all the data is stored in the main memory. Let’s proceed to imagine what data we would store in our knowledge base to model a document:
- The title.
- The content...