Vector Distance Sorting Request and Workaround
TLDR Herman asked about using vector_distance in sort_by to shuffle results. Kishore Nallan confirmed it's unavailable, but promised future support. Herman created a Github issue for tracking.
1
May 17, 2023 (7 months ago)
Herman
01:17 PMQuick question, is there any way to use the vector_distance on the sort_by?
I was trying to shuffle a little bit the results so similar items are not so close to each other
Kishore Nallan
01:24 PMKishore Nallan
01:24 PMKishore Nallan
01:25 PMHerman
01:31 PMFrom what I could see on Github, release are made every 2-3 month, so I will look for a client side workaround in the mean time
Kishore Nallan
02:18 PMHerman
03:10 PMlet me know if there is any missing info or comment
1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Integrating Semantic Search with Typesense
Krish wants to integrate a semantic search functionality with typesense but struggles with the limitations. Kishore Nallan provides resources, clarifications and workarounds to the raised issues.
Hybrid Search Distance Threshold Issue
Anish has an issue with search results not respecting the vector distance threshold when using hybrid search. Jason explains additional fields cause `vector_distance` to only apply to vector search results and suggests opening a feature request on GitHub.
Discussion on Calculating Vector Distance in Hybrid Search Results
Narayan raised concerns on the `vector_distance` results of keyword hits in hybrid search, suggesting it could be manually calculated. Jason explained the algorithm's design, where `vector_distance` does not apply to keyword searches. They agreed on future considerations for scenarios relying on vector distance.