Class: IndexInfo
Defined in: schema/schema.ts:82
IndexInfo includes the essential details regarding index settings, such as its name, prefix, key separator, storage type, and stopwords in Redis.
Constructors
Constructor
new IndexInfo(
options):IndexInfo
Defined in: schema/schema.ts:94
Parameters
options
input
Returns
IndexInfo
Properties
keySeparator
readonlykeySeparator:string
Defined in: schema/schema.ts:88
The separator character used in designing Redis keys
name
readonlyname:string
Defined in: schema/schema.ts:84
The unique name of the index
prefix
readonlyprefix:string|string[]
Defined in: schema/schema.ts:86
The prefix(es) used for Redis keys associated with this index
stopwords?
readonlyoptionalstopwords?:string[]
Defined in: schema/schema.ts:92
Index-level stopwords configuration
storageType
readonlystorageType:StorageType
Defined in: schema/schema.ts:90
The storage type used in Redis (e.g., StorageType.HASH or StorageType.JSON)