Redis › RedisSearch (Full Text Search)
What are the memory and performance tradeoffs of adding RedisSearch indexes to a large existing dataset in Redis?
AdvancedAnswer
Search indexes require additional memory beyond the original data itself, roughly proportional to how many fields you index and how large your text content is, and while search queries are generally very fast, indexing overhead adds to every write operation on indexed data, meaning it is important to only index the specific fields you actually need to search or filter on rather than indexing everything by default.
-- Index only the fields actually needed for search
-- rather than every single field in the document
FT.CREATE idx ON HASH PREFIX 1 doc: SCHEMA searchable_field TEXTReal-world example A team adding RedisSearch to an existing large dataset carefully selects only the specific fields customers actually need to search or filter by, avoiding unnecessary memory overhead from indexing fields that will never actually be queried.