Skip to content

feat: Add Boost API#2030

Merged
trengrj merged 13 commits into
dev/1.38from
feature/boost
Jun 12, 2026
Merged

feat: Add Boost API#2030
trengrj merged 13 commits into
dev/1.38from
feature/boost

Conversation

@trengrj

@trengrj trengrj commented May 1, 2026

Copy link
Copy Markdown
Member

Adds Boost features weaviate/weaviate#11103 to python client.

Near Vector/Object/XYZ operators now support a boost parameter.

Boost.numeric_property - for numeric property boosts
Boost.filter - for filter boosts
Boost.numeric_decay for numeric decay boosts
Boost.time_decay for time decay boosts
Boost.blend for combining multiple boosts together.

All allow for an optional depth and weight parameter to control boosting impact. Time decay has a _decay_value_to_str helper for supporting python time values.

Property modifiers and Decay curves have constants.

Integration test added with 1.38 gate.

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

Copy link
Copy Markdown

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 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@trengrj trengrj changed the title Add Boost API feat: Add Boost API May 1, 2026
@trengrj trengrj changed the base branch from main to dev/1.38 May 21, 2026 04:11
@codecov-commenter

codecov-commenter commented May 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 73.11828% with 50 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.58%. Comparing base (5a4b983) to head (ec1073b).

Files with missing lines Patch % Lines
integration/test_collection_boost.py 71.42% 20 Missing ⚠️
weaviate/collections/classes/grpc.py 83.33% 16 Missing ⚠️
weaviate/collections/grpc/query.py 30.00% 14 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           dev/1.38    #2030       +/-   ##
=============================================
+ Coverage          0   86.58%   +86.58%     
=============================================
  Files             0      300      +300     
  Lines             0    23129    +23129     
=============================================
+ Hits              0    20026    +20026     
- Misses            0     3103     +3103     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@trengrj trengrj requested a review from dirkkul May 21, 2026 04:32
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py

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

Copy link
Copy Markdown

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

Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py Outdated
Comment thread weaviate/collections/classes/grpc.py
Comment thread weaviate/collections/classes/grpc.py
Comment thread weaviate/collections/classes/grpc.py
Comment thread weaviate/collections/classes/grpc.py Outdated
@trengrj trengrj merged commit cccff14 into dev/1.38 Jun 12, 2026
122 checks passed
@trengrj trengrj deleted the feature/boost branch June 12, 2026 09:28
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.

4 participants