Added Upstash Redis Search feature, a new extension for searching Redis data. It works with JSON, Hash, and String data, automatically keeps indexes in sync with Redis writes, and supports full-text search, filtering, aggregations, aliases, highlighting, fuzzy matching, phrase queries, and regex matching.
Redis Search is available through the @upstash/redis and upstash-redis SDKs. If you already use node-redis or ioredis, you can use the @upstash/search-redis and @upstash/search-ioredis wrappers without switching clients.
New Redis Search commands:
-
SEARCH.CREATE: Create a search index -
SEARCH.DROP: Remove a search index -
SEARCH.DESCRIBE: Return metadata about a search index -
SEARCH.WAITINDEXING: Wait until pending index updates are visible to queries -
SEARCH.QUERY: Search documents with a JSON filter -
SEARCH.COUNT: Count matching documents without returning them -
SEARCH.AGGREGATE: Compute analytics over matching documents -
SEARCH.ALIASADD,SEARCH.ALIASDEL, andSEARCH.LISTALIASES: Manage search index aliases