Skip to content

SearchSchemaElementDict

Dictionary Type

SearchSchemaElementDict

Bases: TypedDict

Dictionary form of SearchSchemaElement.

Attributes

attribute_name instance-attribute
attribute_name: Required[str]

The name of the attribute.

search_schema_element_type instance-attribute
search_schema_element_type: Required[str]

The role of the attribute in the search schema. Valid values:

  • HASH - A partition key that partitions the vector index for independent scaling. When specified, you must provide this attribute's value in the SearchConditionExpression.

  • INLINE_FILTER - An attribute projected into the vector index for filtering at the storage layer during search. Inline filters are optional in the SearchConditionExpression.