/AWS1/CL_BDCSEARCHCRITERIA¶
Contains search criteria for retrieving memory records.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_searchquery TYPE /AWS1/BDCSENSITIVESTRING /AWS1/BDCSENSITIVESTRING¶
The search query to use for finding relevant memory records.
Optional arguments:¶
iv_memorystrategyid TYPE /AWS1/BDCMEMORYSTRATEGYID /AWS1/BDCMEMORYSTRATEGYID¶
The memory strategy identifier to filter memory records by.
iv_topk TYPE /AWS1/BDCINTEGER /AWS1/BDCINTEGER¶
The maximum number of top-scoring memory records to return. This value is used for semantic search ranking.
it_metadatafilters TYPE /AWS1/CL_BDCMEMMETFILTERXPRSN=>TT_MEMORYMETADATAFILTERLIST TT_MEMORYMETADATAFILTERLIST¶
Filters to apply to metadata associated with a memory.
Queryable Attributes¶
searchQuery¶
The search query to use for finding relevant memory records.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SEARCHQUERY() |
Getter for SEARCHQUERY, with configurable default |
ASK_SEARCHQUERY() |
Getter for SEARCHQUERY w/ exceptions if field has no value |
HAS_SEARCHQUERY() |
Determine if SEARCHQUERY has a value |
memoryStrategyId¶
The memory strategy identifier to filter memory records by.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MEMORYSTRATEGYID() |
Getter for MEMORYSTRATEGYID, with configurable default |
ASK_MEMORYSTRATEGYID() |
Getter for MEMORYSTRATEGYID w/ exceptions if field has no va |
HAS_MEMORYSTRATEGYID() |
Determine if MEMORYSTRATEGYID has a value |
topK¶
The maximum number of top-scoring memory records to return. This value is used for semantic search ranking.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TOPK() |
Getter for TOPK, with configurable default |
ASK_TOPK() |
Getter for TOPK w/ exceptions if field has no value |
HAS_TOPK() |
Determine if TOPK has a value |
metadataFilters¶
Filters to apply to metadata associated with a memory.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_METADATAFILTERS() |
Getter for METADATAFILTERS, with configurable default |
ASK_METADATAFILTERS() |
Getter for METADATAFILTERS w/ exceptions if field has no val |
HAS_METADATAFILTERS() |
Determine if METADATAFILTERS has a value |