Skip to content

/AWS1/CL_BDZMANAGEDSEARCHCONF

Configuration for managed search in a knowledge base. Managed search automatically determines the best search strategy based on your data store configuration.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_numberofresults TYPE /AWS1/BDZINTEGER /AWS1/BDZINTEGER

The number of results to retrieve.

io_filter TYPE REF TO /AWS1/CL_BDZRETRIEVALFILTER /AWS1/CL_BDZRETRIEVALFILTER

Filters the metadata of the retrieved results so that Amazon Bedrock returns only results that match the filter.

iv_rerankingmodeltype TYPE /AWS1/BDZRERANKINGMODELTYPE /AWS1/BDZRERANKINGMODELTYPE

The type of reranking model to use when reranking results retrieved from the managed search. Use CUSTOM to specify a model, MANAGED to use the service default, or NONE to disable reranking.

io_rerankingconfiguration TYPE REF TO /AWS1/CL_BDZMNGDSRCHRERNKCONF /AWS1/CL_BDZMNGDSRCHRERNKCONF

Contains configurations for reranking the results retrieved from the managed search.


Queryable Attributes

numberOfResults

The number of results to retrieve.

Accessible with the following methods

Method Description
GET_NUMBEROFRESULTS() Getter for NUMBEROFRESULTS, with configurable default
ASK_NUMBEROFRESULTS() Getter for NUMBEROFRESULTS w/ exceptions if field has no val
HAS_NUMBEROFRESULTS() Determine if NUMBEROFRESULTS has a value

filter

Filters the metadata of the retrieved results so that Amazon Bedrock returns only results that match the filter.

Accessible with the following methods

Method Description
GET_FILTER() Getter for FILTER

rerankingModelType

The type of reranking model to use when reranking results retrieved from the managed search. Use CUSTOM to specify a model, MANAGED to use the service default, or NONE to disable reranking.

Accessible with the following methods

Method Description
GET_RERANKINGMODELTYPE() Getter for RERANKINGMODELTYPE, with configurable default
ASK_RERANKINGMODELTYPE() Getter for RERANKINGMODELTYPE w/ exceptions if field has no
HAS_RERANKINGMODELTYPE() Determine if RERANKINGMODELTYPE has a value

rerankingConfiguration

Contains configurations for reranking the results retrieved from the managed search.

Accessible with the following methods

Method Description
GET_RERANKINGCONFIGURATION() Getter for RERANKINGCONFIGURATION