Skip to main content

RediSearch

This advanced course covers Redis Search, the in-memory search engine built as a Redis Module. We will delve into the the fundamentals of search engines in general, and then more specifically the structures and operations of RediSearch.

Enrollment is Closed
  • Course Number

    RU201
  • Classes Start

  • Classes End

  • Estimated Effort

    3:00/week

What you will learn

This advanced course covers RediSearch, the in-memory search engine built as a Redis Module. We will delve into the the fundamentals of search engines in general, and then more specifically the structures and operations of RediSearch.


Extensive focus will be placed on the RediSearch query language, illustrating how both simple and complex queries can be executed to zero-in with precision on specific results. After the query language has been fully explored, we’ll look at the ins-and-outs of schema creation, and document ingestion.


The next major section of the course will cover the built-in aggregations engine - we will look at the the aggregation pipeline system and go over grouping and reducing, sorting, and the transformation syntax.


Finally, the capstone to this course will be related to the synonyms interface as well as the suggestion engine.

What you will build

This course will center around a real-time building permit search tool. The course will be presented language agnostically and most exercises will be interactive through redis-cli.

Course Outline

Week 1

Week 2

Week 3

  • Overview and Introduction
  • What is a module?
  • Search Engines concepts
  • Secondary Indexes
  • Redis vs RediSearch
  • Introducing the Query Language
  • Simple Queries
  • Combining Clauses
  • Managing fields
  • Query
    • Text fields
    • Numeric fields
    • Tags
    • Geospatial

Week 4

Week 5

Week 6

  • Understanding Document Scores and Weights
  • Complex Queries
  • Building a full-text search engine
  • Creating a schema
    • Indexable vs non-indexable
    • Schema options
    • Text options
    • Numeric Options
    • Tag options
    • Altering schemas
  • Managing documents
    • Adding and removing documents
    • Synonyms
    • Autocomplete
  • Final Exam

Requirements

  • Web Browser: Firefox 39.0+ or Chrome 43+ (Internet Explorer is currently not supported)
  • Operating System: Mac OS X 10.7+ 64-bit, Ubuntu 14.04+ 64-bit, or Windows 8+ (64-bit)
  • Access to www.youtube.com and university.redislabs.com (i.e. non-blocked access)

Course Instructors

Kyle Davis

HSET kyle:davis position "Head of Developer Advocacy"
HSET kyle:davis company "Redis Labs"
HSET kyle:davis education-bachelors "University of Southern Indiana"
HSET kyle:davis education-masters "University of Central Missouri"
HSET kyle:davis using-redis-since 2012
HSET kyle:davis favourite-language "Node.js"
HSET kyle:davis second-favourite-language "Rust"
HSET kyle:davis lives-in "Edmonton, Alberta, Canada"

Alvin Richards

Alvin is Chief Education Officer at Redis Labs, and has held various executive roles, most recently as the Field Chief Technology Officer at MariaDB, Vice President of Product at Aerospike and engineering lead at MongoDB. He has worked with SasS startups, enterprise storage (NetApp) and byte-code virtualization and containers (Docker). Alvin’s early experience as a software engineer at Oracle provided a springboard for his career success building and leading engineering teams across the globe.


Alvin holds a computer science degree from Thames Valley University and a Bachelor of Arts in photography from Nottingham Trent University, both in Great Britain.