You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address review nits on synthetic _score collision guard
- Use OpenSearchIndex.METADATA_FIELD_SCORE constant in place of the bare
"_score" literal for the mapping-field check.
- Drop "stored field" wording in the error message and code comment;
the mapping does not use "store": true, so "user field" is what we
actually mean.
- Scope the block comment to the _id / _score cases this PR actually
locks in; drop the broader "(and most other metadata names)" claim.
- Shorten comments on the guard and both ITs to minimal WHY-only form.
- Assert HTTP 400 in testVectorSearchAgainstIndexWithScoreFieldRejects
so the IT surfaces an accidental status-code regression explicitly.
Signed-off-by: Eric Wei <mengwei.eric@gmail.com>
0 commit comments