In this chapter, you’ve learned how to perform basic searching using SET operations,
and then ordered the results based on either values in HASHes, or potentially composite
values with ZSETs. You continued through the steps necessary to build and update
information in an ad-targeting network, and you finished with job searching that
turned the idea of scoring search results on its head.
Though the problems introduced in this chapter may have been new, one thing
that you should’ve gotten used to by now is Redis’s ability to help you solve an unexpectedly
wide variety of problems. With the data modeling options available in other
databases, you really only have one tool to work with. But with Redis, the five data
structures and pub/sub are an entire toolbox for you to work with.
In the next chapter, we’ll continue to use Redis HASHes and ZSETs as building
blocks in our construction of a fully functional Twitter clone.