Redis Stack as a Document Store
The traditional data modeling technique of using Redis’ core data types is possible with Redis Stack, which means that we can model an object using the popular Hash data structure, for example. This chapter presents Redis Stack’s capability to perform real-time queries and searches against the Hash data type, with the advantages of secondary indexing and additional search features. After that, we will discover how data modeling can be addressed using the JSON data structure. We will present different search and query features, from full-text to tagging, from aggregation to auto-completion, so that you understand how to use Redis Stack as a document store with advanced features.
By the end of this chapter, you will know how to rethink the data model of your application and use Redis Stack data structures to perform real-time queries and searches. You will also know how to use Hash and JSON data structures to store, query, and search documents...