/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¶
Specifies the filters to use on the metadata attributes in the knowledge base data sources before returning results. For more information, see Query configurations. See the examples below to see how to use these filters.
This data type is used in the following API operations:
Retrieve request – in the
filterfieldRetrieveAndGenerate request – in the
filterfield
iv_rerankingmodeltype TYPE /AWS1/BDZRERANKINGMODELTYPE /AWS1/BDZRERANKINGMODELTYPE¶
The type of reranking model to use when reranking results retrieved from the managed search. Use
CUSTOMto specify a model,MANAGEDto use the service default, orNONEto 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¶
Specifies the filters to use on the metadata attributes in the knowledge base data sources before returning results. For more information, see Query configurations. See the examples below to see how to use these filters.
This data type is used in the following API operations:
Retrieve request – in the
filterfieldRetrieveAndGenerate request – in the
filterfield
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
CUSTOMto specify a model,MANAGEDto use the service default, orNONEto 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 |