Tom Coates
07/24/2024, 4:56 PMts/all-MiniLM-L12-v2
model. When performing a hybrid and non hybrid query with _vector_distance:asc
set as the sort_by value I receive the following error.
Error: 404 - sort_by vector_distance is only supported for vector queries, semantic search and hybrid search.
I receive this error in the cloud console search tool and when using InstantSearch.js. Without the sort_by vector search works as expected.
[
{
"query_by": "embedding,title",
"sort_by": "_vector_distance:asc",
"exclude_fields": "embedding",
"highlight_full_fields": "embedding",
"collection": "course_development_1721837246",
"q": "*",
"page": 1,
"per_page": 6
}
]