Skip to content

Implement edge::Shard::query_scroll - #7426

Merged
ffuugoo merged 3 commits into
devfrom
qdrant-edge-query-4
Oct 21, 2025
Merged

ffuugoo merged 3 commits into
devfrom
qdrant-edge-query-4

Conversation

@ffuugoo

@ffuugoo ffuugoo commented Oct 20, 2025 •

Copy link
Copy Markdown
Contributor

Query implementation in core relies on query_scroll, so this PR implements query_scroll for Edge.

Also, small cleanup in edge crate: moved all major methods of edge::Shard into separate files.

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you formatted your code locally using cargo +nightly fmt --all command prior to submission?
  3. Have you checked your code using cargo clippy --all --all-features command?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@ffuugoo ffuugoo added this to the Qdrant on Edge milestone Oct 20, 2025
@ffuugoo
ffuugoo requested review from coszio and generall October 20, 2025 10:09
@coderabbitai

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

@ffuugoo ffuugoo mentioned this pull request Oct 20, 2025
7 of 10 tasks

@coszio coszio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I see we are already following the pattern of reimplementing things like for edge/src/search.rs, but can't this logic be abstracted away into SegmentHolder instead? Such that we leave things like timeouts, locks and other stuff up to the LocalShard/edge::Shard impl

@coszio coszio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ok, I see how it would involve a much deeper refactor. I'll approve for now, but let's try to see if we can make it happen so that we don't have so much duplication.

@ffuugoo
ffuugoo merged commit 06e9b26 into dev Oct 21, 2025
@ffuugoo
ffuugoo deleted the qdrant-edge-query-4 branch October 21, 2025 20:03
timvisee pushed a commit that referenced this pull request Nov 14, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Mar 2, 2026
8 of 9 tasks
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