Skip to content

feat(retrieval): add include_document_ids to query - #36

Merged
EricNGOntos merged 1 commit into
mainfrom
feat/wuchengke/retrieval-include-document-ids
Sep 11, 2026
Merged

feat(retrieval): add include_document_ids to query#36
EricNGOntos merged 1 commit into
mainfrom
feat/wuchengke/retrieval-include-document-ids

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

  • Add include_document_ids to sync and async retrieval.query.
  • Omitted means unrestricted; [] is sent as an empty allowlist; exclusions still win.

Test plan

  • uv run ruff check src/ tests/test_retrieval.py
  • uv run mypy src/knowhere
  • uv run pytest tests/test_retrieval.py (11 passed)
  • Remote CI green
  • After merge: merge the release-please PR so PyPI publishes the new version

Made with Cursor

Send the request-level document allowlist on both sync and async retrieval.query. Omitted means unrestricted; empty list is preserved; exclusions still win.

Co-authored-by: Cursor <cursoragent@cursor.com>
@EricNGOntos
EricNGOntos force-pushed the feat/wuchengke/retrieval-include-document-ids branch from e6524c2 to 4b567f4 Compare September 11, 2026 08:26
@EricNGOntos
EricNGOntos merged commit 9d4437a into main Sep 11, 2026
5 checks passed
@EricNGOntos
EricNGOntos deleted the feat/wuchengke/retrieval-include-document-ids branch September 11, 2026 08:29
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.

1 participant