Skip to content
1 min read · 147 words

batteries/vector/redis

Classes

ClassDescription
RedisVectorStoreAbstract base shared by every bundled vector adapter. It implements the cross-cutting surface (query/schema/transaction/asCallable/encode) on top of the small set of backend-specific abstract methods each adapter fills in (connect, executeSearch, createCollection, …). Concrete adapters inherit the doc comments below unless they override them.

Interfaces

InterfaceDescription
RedisVectorStoreOptionsShared base options every adapter extends with its own connection block.

Functions

FunctionDescription
translateRedisFilterCompile the neutral filter tree to a RediSearch query fragment. TAG fields hold string / boolean metadata; NUMERIC fields hold numbers. Returns a fragment to AND with the KNN clause (or to use alone for a filter-scan). Throws on operators RediSearch can't express.