Skip to content

/AWS1/CL_DYNSEARCHSCHEMAELEM

An element in the search schema of a vector index.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_attributename TYPE /AWS1/DYNATTRIBUTENAME /AWS1/DYNATTRIBUTENAME

The name of the attribute.

iv_searchschemaelementtype TYPE /AWS1/DYNSEARCHSCHEMAELEMTYPE /AWS1/DYNSEARCHSCHEMAELEMTYPE

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.


Queryable Attributes

AttributeName

The name of the attribute.

Accessible with the following methods

Method Description
GET_ATTRIBUTENAME() Getter for ATTRIBUTENAME, with configurable default
ASK_ATTRIBUTENAME() Getter for ATTRIBUTENAME w/ exceptions if field has no value
HAS_ATTRIBUTENAME() Determine if ATTRIBUTENAME has a value

SearchSchemaElementType

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.

Accessible with the following methods

Method Description
GET_SEARCHSCHEMAELEMENTTYPE() Getter for SEARCHSCHEMAELEMENTTYPE, with configurable defaul
ASK_SEARCHSCHEMAELEMENTTYPE() Getter for SEARCHSCHEMAELEMENTTYPE w/ exceptions if field ha
HAS_SEARCHSCHEMAELEMENTTYPE() Determine if SEARCHSCHEMAELEMENTTYPE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_SEARCHSCHEMA

TYPES TT_SEARCHSCHEMA TYPE STANDARD TABLE OF REF TO /AWS1/CL_DYNSEARCHSCHEMAELEM WITH DEFAULT KEY
.