A Node.js plugin for indexing and searching data in Redis, inspired by reds. Version 2.0.1 supports querying on extra fields beyond the default 'content' field, allowing filtering by additional properties. The package is minimal and simple, but has not seen recent updates (latest release is old, requires Node >=0.10). It uses a basic term-based indexing approach and provides methods to index, search, and remove documents. No TypeScript definitions or ESM support.
npm install redisearchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a search index, indexes a document with 'content' and extra fields, and performs a search with filtering on extra fields.
Use const redisSearch = require('redisSearch');Always include a 'content' string field when indexing.
Use an older Node version or consider an alternative like RediSearch.
Migrate to redis-modules-sdk or node-redis with RediSearch module.
Install the package: npm install redis-search; and require 'redisSearch' (camelCase).
Ensure you are using const redisSearch = require('redisSearch'); and that the redis package is installed.Add a 'content' string property to the data object.