Darya
03/06/2025, 2:52 PM{'results': [{'code': 400,
'error': 'Malformed vector query string: `:` is missing after the vector field name.'}]}
This happens for both the following requests:
search_requests = {
"searches": [
{
"collection": "products",
"include_fields": "product_id,store_name",
"q": "*",
"sort_by": f"_vector_query($stores(embedding:([0.2, 0.4, 0.1])):asc)",
}
]
}
common_search_params = {}
client.multi_search.perform(search_requests, common_search_params)
search_requests = {
"searches": [
{
"collection": "products",
"include_fields": "product_id,store_name",
"q": "*",
'vector_query': '$stores(embedding:([0.2, 0.4, 0.1], k:10))'
}
]
}
common_search_params = {}
client.multi_search.perform(search_requests, common_search_params)
Harpreet Sangar
03/06/2025, 3:46 PMAdam Al-dbhany
03/06/2025, 4:21 PM