Skip to content

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