Skip to content

Add Aliyun Elasticsearch CBOR query transport - #835

Draft
vicety wants to merge 2 commits into
zilliztech:mainfrom
vicety:agent/aliyun-elasticsearch-query-encoding
Draft

Add Aliyun Elasticsearch CBOR query transport#835
vicety wants to merge 2 commits into
zilliztech:mainfrom
vicety:agent/aliyun-elasticsearch-query-encoding

Conversation

@vicety

@vicety vicety commented Aug 5, 2026

Copy link
Copy Markdown

What changed

  • Keep the existing Base64 big-endian float32 JSON query transport as the default.
  • Add an optional cbor-f32le transport that sends query vectors as raw little-endian float32 bytes in application/cbor requests.
  • Add Aliyun Elasticsearch case configuration, environment overrides, and a web UI selector for the query wire format.
  • Add the cbor2 optional dependency and documentation for both transports.

Why

Aliyun Elasticsearch supports a raw-f32 CBOR query path in addition to Base64 JSON. Exposing both formats makes the benchmark transport explicit and allows users to compare them without changing client code.

Validation

  • python -m compileall passed for the changed Python implementation.
  • git diff --check passed.
  • The full test suite was not run locally.

@sre-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: vicety
To complete the pull request process, please assign xuanyang-cn after the PR has been reviewed.
You can assign the PR to them by writing /assign @xuanyang-cn in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@vicety
vicety force-pushed the agent/aliyun-elasticsearch-query-encoding branch from c482285 to 4ab8ccb Compare August 11, 2026 23:27
@vicety vicety changed the title Support Aliyun Elasticsearch query encoding Add Aliyun Elasticsearch CBOR query transport Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants