mirror of
https://github.com/qdrant/qdrant.git
synced 2026-09-29 09:27:53 -05:00
* fix: reject mismatched dense dims in recommend average Stop silently truncating oversized negative examples during average_vector merge. Validate dense dimensions within each example group and between positive/negative averages before zip-merge. Fixes #10369 * Simplify: keep only the merge-time dimension check The zip truncation in merge_positive_and_negative_avg is the only place an oversized negative can silently pass the downstream dimension check; within-group mismatches already grow the average to the max length and fail the segment-entry check. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * style(query): make recommendation conversion explicit * test: assert recommendation dimension errors Issue: #10369 Make the regression test verify the exact WrongVectorDimension payload for mismatched recommendation vectors. --------- Co-authored-by: qdrant-cloud-bot <111755117+qdrant-cloud-bot@users.noreply.github.com> Co-authored-by: generall <andrey@vasnetsov.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>