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: outer-bool guard, helper comment, efficient+ORDER BY
- Add assertFalse(contains("\"bool\"")) on the outer sourceBuilder JSON for the
plain top-k and radial (max_distance, min_score) cases so a regression that
wrapped the knn in an outer bool while preserving the inner payload is
caught.
- Document the SOURCE_BUILDER_JSON helper's test-only coupling to the
surrounding "sourceBuilder=...", "pitId=" tokens in the request-string
toString() output — if that format changes, update the regex anchors.
- Strengthen testEfficientFilterWithOrderByScoreDescSucceeds onto the same
helpers as testExplainFilterTypeEfficientProducesKnnWithFilter: verify no
outer bool/must in the sourceBuilder JSON and that the WHERE predicate is
embedded inside the decoded knn payload.
Signed-off-by: Eric Wei <mengwei.eric@gmail.com>
0 commit comments