in Elasticsearch using Postman but I get this error "reason": "class_cast_exception: Cannot cast from [java.lang.String] to [org.elasticsearch.xpack.vectors.query.VectorScriptDocValues.DenseVectorScriptDocValues].". and this is the query:
{
"query": {
"script_score": {
"query": {"match_all": {}},
"script": {
"source": "cosineSimilarity(params.query_vector, 'embd') + 1.0",
"params": {"query_vector": {{embd}}}
}
}
}
}
Any ideas?
>I am trying to query a vector of 500 dimensions in Elasticsearch Jesus, what are you doing?!?
You are not an enlighten being, you wouldn't understand
Обсуждают сегодня