Skip to content

Conversation

@dirkkul
Copy link
Collaborator

@dirkkul dirkkul commented May 30, 2025

    objs = collection.query.hybrid(
        "banana two",
        vector=None,
        alpha=0.0,
        keyword_operator=wvc.query.KeywordOperator.or_(minimum_match=1),
    )
    objs = collection.query.bm25(
        "banana two",
        operator=wvc.query.KeywordOperator.and_(minimum_match=1),
    )

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

@codecov-commenter
Copy link

codecov-commenter commented May 30, 2025

Codecov Report

Attention: Patch coverage is 56.89655% with 25 lines in your changes missing coverage. Please review.

Please upload report for BASE (dev/1.31@093e2bb). Learn more about missing BASE report.

Files with missing lines Patch % Lines
integration/test_collection.py 38.46% 8 Missing ⚠️
integration/test_collection_hybrid.py 33.33% 8 Missing ⚠️
integration/test_collection_aggregate.py 45.45% 6 Missing ⚠️
weaviate/collections/classes/grpc.py 85.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             dev/1.31    #1683   +/-   ##
===========================================
  Coverage            ?   88.01%           
===========================================
  Files               ?      256           
  Lines               ?    17823           
  Branches            ?        0           
===========================================
  Hits                ?    15687           
  Misses              ?     2136           
  Partials            ?        0           

☔ View full report in Codecov by Sentry.
📢 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.

@dirkkul dirkkul merged commit 26dcfcd into dev/1.31 May 30, 2025
52 of 53 checks passed
@dirkkul dirkkul deleted the bm25_operators branch May 30, 2025 12:13
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.

5 participants