Skip to content

feat(endee): migrate Endee client to v2 collections API - #817

Open
MithunEndee wants to merge 7 commits into
zilliztech:mainfrom
MithunEndee:feat/endee-v2
Open

MithunEndee wants to merge 7 commits into
zilliztech:mainfrom
MithunEndee:feat/endee-v2

Conversation

@MithunEndee

@MithunEndee MithunEndee commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Migrates the Endee client from the index-based v1 API to the collections-based v2 API (endee>=2.2.0). The legacy OSS/v1 client is archived, so it is not kept.

Changes

  • Endee now uses create_collection / get_collection / upsert / search from the v2 SDK
  • --collection-name replaces --index-name (kept as a deprecated alias)
  • New filtered-search tuning options: --prefilter-cardinality-threshold, --filter-boost-percentage
  • drop_old now drops the existing collection
  • Upserts are chunked to the SDK limit of 10k objects

Testing

  • tests/test_endee.py: CLI defaults/options/validation, the alias, note file, filtered/unfiltered search kwargs, insert chunking

@sre-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: MithunEndee
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

@MithunEndee

Copy link
Copy Markdown
Contributor Author

/assign @XuanYang-cn

@MithunEndee

Copy link
Copy Markdown
Contributor Author

/assign @jamesgao-jpg

@jamesgao-jpg jamesgao-jpg left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the Endee v2 collections client alongside legacy EndeeOSS (v1)! Left a few inline comments covering SDK/packaging mismatches across pyproject.toml, README.md, and the EndeeOSS docstrings, an existing test failure in tests/test_cli_note.py, two filter tuning options dropped before collection.search(), and CLI/config default inconsistencies.

Comment thread README.md Resolved
- Remove the archived EndeeOSS (v1) client, config, CLI and registrations
- Pin endee>=2.2.0 (collections API)
- Pass prefilter_cardinality_threshold / filter_boost_percentage on filtered search
- Show real defaults in --help, validate ranges, make --version a str label
- Keep --index-name as a deprecated alias of --collection-name
- Re-export benchmark_runner from endee.cli for existing callers/tests
- Split upserts into SDK-sized (10k) chunks
- Add tests/test_endee.py
@MithunEndee MithunEndee changed the title feat(endee): add v2 client alongside legacy EndeeOSS (v1) feat(endee): migrate Endee client to v2 collections API Nov 26, 2026
@MithunEndee

Copy link
Copy Markdown
Contributor Author

/assign @jamesgao-jpg

@MithunEndee

Copy link
Copy Markdown
Contributor Author

/assign @jamesgao-jpg

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.

3 participants