Skip to content

Commit

Permalink
Merge pull request #952 from weaviate/fix_hybrid_bug
Browse files Browse the repository at this point in the history
Fix bug in hybrid search without vector
  • Loading branch information
dirkkul authored Mar 14, 2024
2 parents 66be4f1 + d604db8 commit 15efd07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions weaviate/collections/grpc/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,6 @@ def hybrid(
# Set hybrid search to only query the other search-type if one of the two is not set
if query is None:
alpha = 1
if vector is None:
alpha = 0

hybrid_search = (
search_get_pb2.Hybrid(
Expand Down

0 comments on commit 15efd07

Please sign in to comment.