Skip to content

/AWS1/CL_DYNSRCHVECTORSOUTPUT

SearchVectorsOutput

CONSTRUCTOR

IMPORTING

Optional arguments:

io_consumedcapacity TYPE REF TO /AWS1/CL_DYNVECTORCAPACITY /AWS1/CL_DYNVECTORCAPACITY

The capacity units consumed by the SearchVectors operation. Contains VectorSearchRequestBytes, which represents the vector search capacity consumed.

it_searchresults TYPE /AWS1/CL_DYNSEARCHRESULTITEM=>TT_SEARCHRESULTLIST TT_SEARCHRESULTLIST

A list of items returned by the vector similarity search, sorted by similarity with the most similar item first. Each item contains the projected attributes and a similarity score.


Queryable Attributes

ConsumedCapacity

The capacity units consumed by the SearchVectors operation. Contains VectorSearchRequestBytes, which represents the vector search capacity consumed.

Accessible with the following methods

Method Description
GET_CONSUMEDCAPACITY() Getter for CONSUMEDCAPACITY

SearchResults

A list of items returned by the vector similarity search, sorted by similarity with the most similar item first. Each item contains the projected attributes and a similarity score.

Accessible with the following methods

Method Description
GET_SEARCHRESULTS() Getter for SEARCHRESULTS, with configurable default
ASK_SEARCHRESULTS() Getter for SEARCHRESULTS w/ exceptions if field has no value
HAS_SEARCHRESULTS() Determine if SEARCHRESULTS has a value