Skip to content

v6: add BM25 query #390

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

Merged
merged 4 commits into from
Jun 16, 2025
Merged

v6: add BM25 query #390

merged 4 commits into from
Jun 16, 2025

Conversation

bevzzz
Copy link
Collaborator

@bevzzz bevzzz commented Jun 16, 2025

This PR extends query namespace for a collection to support BM25 queries.
Note, that Aggregate API does not allow using a BM25 filter, so aggregate namespace does is not changed.

In order to support searchOperator too, I had to update the proto definition and re-generate the stubs, hence the massive 13K change. Luckily Github hides most of the diff, so it shouldn't interfere with the review process to much.

@bevzzz bevzzz requested a review from a team as a code owner June 16, 2025 07:25
@bevzzz bevzzz self-assigned this Jun 16, 2025
@bevzzz bevzzz changed the base branch from main to v6 June 16, 2025 07:25
Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 1   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Failed Failed Vulnerabilities high 1   medium 0   low 0   info 0 View in Orca
🛡️ The following SAST misconfigurations have been detected
NAME FILE
medium Insecure Random Number Generator Usage in Java .../ConcurrentTest.java View in code
☢️ The following Vulnerabilities (CVEs) have been detected
PACKAGE FILE CVE ID INSTALLED VERSION FIXED VERSION
high org.apache.httpcomponents.client5:httpclient5 ./pom.xml CVE-2025-27820 5.4.2 5.4.3 View in code

@bevzzz
Copy link
Collaborator Author

bevzzz commented Jun 16, 2025

Vulnerability that Orca finds is fixed in a different PR, see 10252e4

Bm25 does not implement ObjectFilter because Aggregation API does not support bm25.
Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@bevzzz bevzzz linked an issue Jun 16, 2025 that may be closed by this pull request
@bevzzz bevzzz merged commit cbafc67 into v6 Jun 16, 2025
2 checks passed
@bevzzz bevzzz deleted the v6-bm25 branch June 16, 2025 15:17
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