Scalar values a vector search filter condition may take.
Two constraints narrow this. DynamoDB's SearchConditionExpression is an
equality-only conjunction, so operator objects ($beginsWith,
$contains), "IN" arrays, and $or blocks are not representable. And
every inline filter attribute must be declared in the table's
AttributeDefinitions, whose ScalarAttributeType set is B | N | S — so
a filter value is a string or a number, never a boolean, and binary is not
modeled by this library.
This is the bound on what a filterable attribute may declare, not the type
a given filter key accepts; SearchFilterParams resolves that from
the attribute's own declaration.
Scalar values a vector search filter condition may take.
Two constraints narrow this. DynamoDB's
SearchConditionExpressionis an equality-only conjunction, so operator objects ($beginsWith,$contains), "IN" arrays, and$orblocks are not representable. And every inline filter attribute must be declared in the table'sAttributeDefinitions, whoseScalarAttributeTypeset isB | N | S— so a filter value is a string or a number, never a boolean, and binary is not modeled by this library.This is the bound on what a filterable attribute may declare, not the type a given filter key accepts; SearchFilterParams resolves that from the attribute's own declaration.