weaviate-python-client
weaviate-python-client copied to clipboard
hybrid search: what to do when query = None and alpha = 0?
In 4.5.4, the following query returns results:
client.collections.get(index_name)\
.query\
.hybrid(
query = None,
vector= query_vector,
alpha=0,
include_vector=True,
return_metadata=["score", "explain_score", "distance"]
)
This is unexpected because the parameters are incompatible: it is set to do pure BM25 search but no query was provided