-
Notifications
You must be signed in to change notification settings - Fork 150
Remove 'PostApplyCandidateGeneration' #7288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
β Pull with Spice PassedPassing checks:
|
peasee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π₯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes the PostApplyCandidateGeneration wrapper that was previously used to add filter and projection support to candidate generation methods. The removal is justified by the migration to using the text_search UDTF in HTTP, making this post-processing logic redundant.
- Completely removes the
post_apply.rsfile containingPostApplyCandidateGenerationimplementation - Removes module declaration and imports of the post-apply functionality
- Simplifies the candidate generation creation to use
TextSearchCandidatedirectly
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| crates/search/src/generation/post_apply.rs | Entire file deleted, removing the PostApplyCandidateGeneration implementation and its tests |
| crates/search/src/generation.rs | Removes the post_apply module declaration |
| crates/runtime/src/search/full_text/mod.rs | Removes imports and usage of PostApplyCandidateGeneration, simplifies candidate generation creation |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
* Remove 'PostApplyCandidateGeneration' * clppy * format
π Summary
text_searchUDTF, the logic ofPostApplyCandidateGenerationis not needed.