Prevent Personalize ranking processor from being created as part of an ad hoc pipeline #182
Labels
enhancement
change or upgrade that increases software capabilities beyond original client specifications
In opensearch-project/OpenSearch#8163, we made a change to pass the pipeline creation context to a processor factory, so the factory can take appropriate action depending on how it's being called.
For the Personalize ranking processor, we should fail if invoked as part of a search request (i.e. in an ad hoc pipeline), to make sure that we're not creating a new AWS Personalize client on every search request. This requires a check in the Personalize processor factory.
The text was updated successfully, but these errors were encountered: