- Newest
- Most votes
- Most comments
Based on the information available about Amazon OpenSearch Service and OpenSearch 3.3, I can provide some context, though the specific radial search issue you're experiencing isn't directly addressed in the current documentation.
Amazon OpenSearch Service does support OpenSearch version 3.3, which includes several improvements to vector search capabilities through the Neural Search plugin. The service has made enhancements to make semantic search more efficient and provide optimization options for specific data, performance, and relevance needs.
However, there are important considerations when working with k-NN functionality in Amazon OpenSearch Service, particularly regarding deprecated index settings. When upgrading to OpenSearch 3.x, certain k-NN related index settings that were deprecated in 2.x can cause validation failures:
- index.knn.algo_param.ef_construction
- index.knn.algo_param.m
- index.knn.space_type
These deprecated settings need to be removed before upgrading to OpenSearch 3.x. If your domain contains indexes with these settings, you may need to reindex your data.
The conflicting behavior you're experiencing with radial search parameters (min_score/max_distance requiring k, but validation forbidding it) suggests there may be an inconsistency between the validation logic and execution logic in your specific version. Since your local OpenSearch 3.3.2 instance works correctly with the same queries, this points to a potential service-specific issue.
For troubleshooting configuration-related issues in Amazon OpenSearch Service, you can perform a dry run validation check using the console or API to ensure your domain is eligible for updates and to identify any specific issues that need resolution.
I recommend opening a support case with AWS to report this specific behavior, as it appears to be a discrepancy between the managed service implementation and the open-source OpenSearch 3.3.2 behavior. The AWS support team can investigate whether this is a known issue and provide guidance on workarounds or timelines for resolution.
Sources
Upgrading Amazon OpenSearch Service domains - Amazon OpenSearch Service
Amazon OpenSearch Service now supports OpenSearch version 3.3 - AWS
Making configuration changes in Amazon OpenSearch Service - Amazon OpenSearch Service
Relevant content
- AWS OFFICIALUpdated 9 months ago

This appears to be a known issue related to k-NN behavior in AWS-managed OpenSearch: https://github.com/opensearch-project/k-NN/issues/3159
Certain query combinations (e.g., filters with min_score/max_distance) can lead to unexpected behaviour, which likely explains the errors observed.