A First Look at Upstash Redis Search
Blog post from Upstash
Upstash is introducing its new Redis Search extension, which represents a significant departure from their typical one-to-one mapping of Redis commands, using Tantivy, a Rust-based full-text search engine. This extension aims to address the limitations of existing search providers in the serverless space and is designed to integrate seamlessly with the Upstash Redis SDK. The tool utilizes a type-safe schema builder, akin to zod syntax, to define searchable fields and includes five main query operators: $smart for smart matching, $eq for exact equality, $phrase for phrase matching, $fuzzy for typo tolerance, and $regex for pattern matching. The new technology allows for boosting specific fields to prioritize certain matches and intends to make searches feel native to the platform. As Upstash continues to refine the product ahead of its official launch, future enhancements may include vector search integration and features like autocomplete and suggestions.