Hi team! Is Vector Search on a joined fields suppo...
# community-help
d
Hi team! Is Vector Search on a joined fields supported? I am trying to do it in Typesense (28.0), but I'm getting the following error:
Copy code
{'results': [{'code': 400,
   'error': 'Malformed vector query string: `:` is missing after the vector field name.'}]}
This happens for both the following requests:
Copy code
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)
Copy code
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)
h
Hi @Darya This is not supported right now. Can you open a github issue explaining your use case?
1
a
@Darya if you open an issue, please share it here. I'd be more than happy to add some notes on our potential use-case as well to ensure the breadth of this is sound