Hi! I'm testing out typesense for a new project an...
# community-help
m
Hi! I'm testing out typesense for a new project and was wondering if there is any way to search based on euclidean distance between vectors? I'm trying to enable search for products with similar colors.
j
Hi @mape, we don't support this at the moment. Would what we've discussed in this issue, help your use case: https://github.com/typesense/typesense/issues/207
m
I'm not sure cosine similarity would be of use (based on some brief googling). But "_It is straightforward to fetch the nearest K results for a given search query vector, but that would just be just a search in the vector space"_ seem like it could be a good fit. Has there been any progress on this? Something to test out?
j
No recent progress unfortunately, we had other things come up in preparation for v0.20.
Could you add an example from your use case to that issue, so we have it for context?
m
Yup, absolutely