hi @Ansh_Gaur !
Welcome to our community
Unless you use cross references (and maybe ref2vec?) and some modelling, you will not be able to query the two collections at once and get a single score/distance.
You will, off course, be able to get two+ separate queries, as you are doing.
Now, you need to keep in mind that, when doing a hybrid search, the fusion algorithm will kick in.
So you are not resorting the two queries results by cosine vector distance, but by a normalized score ranking from the first result on each query (the score of the first object in each query is 1), as explained in that blog post.
Maybe the distance (or doing a nearText with outcut instead of hybrid) can get you better different sorting. Or not hehehe
So something to explore
Also, I see you are using the v3 client. We strongly suggest using the python v4 client.
With that said… there is a way of getting the two results with only one http query, by using graphql raw queries
Check here for more on that:
Let me know if that helps