Company
Date Published
Author
Redis
Word count
1705
Language
English
Hacker News points
None

Summary

The Redis ecosystem has introduced the RediSearch module, which provides three main features: full-text searching, general-purpose secondary indexing, and a suggestion engine. The module utilizes its own datatype and the built-in Redis data types, making it a solution that resides with Redis. With RediSearch, users can index text without pre-processing and find matches automatically, including numeric and geo indexes on individual items. The module also provides a suggestion engine for auto-complete-like services. After loading the module, users can create an index and add documents to it using the FT.CREATE and FT.ADD commands. These commands specify fields in a [fieldname] [value] repeating pattern, allowing users to store data with RediSearch's native datatype. The stored data is then accessible through various keys, including hashes, numeric indexes, geo sets, and textual indexes, each with their own specific type and characteristics.