RedisHashSetVectorStoreRecordCollectionOptions<TRecord>.PrefixCollectionNameToKeyNames Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether the collection name should be prefixed to the key names before reading or writing to the Redis store. Default is false.
public bool PrefixCollectionNameToKeyNames { get; init; }
member this.PrefixCollectionNameToKeyNames : bool with get, set
Public Property PrefixCollectionNameToKeyNames As Boolean
Property Value
Remarks
For a record to be indexed by a specific Redis index, the key name must be prefixed with the matching prefix configured on the Redis index. You can either pass in keys that are already prefixed, or set this option to true to have the collection name prefixed to the key names automatically.