OpenSearch 3.9 on AWS: Smaller Vectors, and the Upgrade Path to Check
OpenSearch Service picked up OpenSearch 3.9 on 23 November. If you run vector search, the interesting part is memory. Vectors are expensive to keep in RAM, and this release adds more ways to shrink them. The catch: AWS's
OpenSearch Service picked up OpenSearch 3.9 on 23 November. If you run vector search, the interesting part is memory. Vectors are expensive to keep in RAM, and this release adds more ways to shrink them. The catch: AWS's announcement gives no savings numbers, and I couldn't verify all the details.
What's in the announcement
- A half-float vector type and a bf16 encoder, storing each dimension in 16 bits.
- 2-bit and 4-bit scalar quantization, so you pick your own compression-versus-recall trade-off.
- Base64-encoded vector ingestion, for smaller bulk payloads.
- Redesigned graph traversal for radial search.
- Search Relevance Workbench: LLM-as-a-Judge now works with Bedrock and other providers via ML Commons connectors, with retries, editable ratings and reuse of earlier judgments.
- gRPC streaming for predictions and agent execution, returning tokens as they're generated.
- Resource sharing, such as anomaly detectors and ML models, with specific users and roles.
It's available in all Regions where the service is offered.
What the open-source docs add
The OpenSearch docs describe half-float as 16-bit values in the range -65504 to 65504, with out-of-range values rejected, and say it needs half the memory of float vectors. They list it as supported with HNSW on faiss or lucene, and not with nmslib or IVF. One thing didn't line up: the docs summary I read didn't clearly present 2-bit and 4-bit as new in 3.9, while AWS's post does. Check the release notes before you plan around that. The announcement doesn't link them, and I didn't find them.
Neither source gave recall figures for 2-bit or 4-bit, so test on your own data. Compression at that level usually costs recall, and only your queries tell you how much.
The upgrade path matters more than the features
From the AWS upgrade guide, to get to 3.x from 1.3 or 2.x you go through 2.19 first. Before 3.x you need to remove deprecated index settings (index.knn.algo_param.ef_construction, index.knn.algo_param.m, index.knn.space_type, index.store.hybrid.mmap.extensions). Indexes from 1.3 or Elasticsearch 7.10 and earlier need reindexing. There are two methods:
- In-place: no extra charge, but it can't be paused, cancelled or rolled back.
- Clone-based: validate before cutover and roll back during a retention period, but you pay for the clone while it runs. It isn't supported for OR1/OR2, UltraWarm, cross-cluster replication, custom plugins, or SAML/Cognito auth.
Take a manual snapshot first either way.
What I'd do
Clone a domain, index a sample of real vectors with half-float, then measure memory, latency and recall against your current setup. If the clone route is blocked by one of those limitations, plan the in-place path with a snapshot and a rehearsal.
None of this has been run by me; it's from the launch post and docs.
Sources
- https://aws.amazon.com/about-aws/whats-new/2026/11/amazon-opensearch-opensearch-3-9
- https://docs.opensearch.org/latest/mappings/supported-field-types/knn-memory-optimized/
- https://docs.aws.amazon.com/opensearch-service/latest/developerguide/version-migration.html
Drafted with AI assistance. I review and edit every post.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.