Get the same results no matter how different the embedded vector
See original GitHub issueI queried something like this:
curl -XGET "$HOST/sappearance/_search?pretty" -H 'Content-Type: application/json' -d'
{
"query": {
"function_score": {
"boost_mode": "replace",
"boost": 1,
"script_score": {
"script": {
"source": "binary_vector_score",
"lang": "knn",
"params": {
"cosine": false,
"field": "embedded",
"encoded_vector":
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPd9jHwAAAAA3BiywAAAAAAAAAAAAAAAAAAAAAD2f0Q8AAAAAAAAAAD1IY4k8kpnOAAAAAAAAAAA9r5S5PNp8mgAAAAAAAAAAOpXNNwAAAAA78meIAAAAAAAAAAA7yL4/AAAAAAAAAAA9c3QgAAAAAAAAAAAAAAAAAAAAADwIS5M+JBA+PM1oEwAAAAAAAAAAPb7UFgAAAAAAAAAAAAAAAAAAAAAAAAAAPWuvPwAAAAAAAAAAPgdXbwAAAAAAAAAAAAAAAAAAAAA8vUoQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPe0Z4QAAAAAAAAAAAAAAAAAAAAA9WR3bAAAAAD4IS4kAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbxhFzu8AFU9wkM7Pu8+/DWUJz0AAAAAAAAAAAAAAAAAAAAAPgz/cTvKBXU6sPdoO7pa0wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD1I7TE9QvIvAAAAAAAAAAAAAAAAAAAAADG9brM9v30LAAAAADwYBwAAAAAAAAAAADwkH0w9wzCCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPSlb/wAAAAAAAAAAPIfoPTwH5rEAAAAAAAAAAAAAAAAAAAAAAAAAAD15pBs7yhn+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADpW/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AAAAAAAAAAAAAAAAAAAAAAADytj6EAAAAAAAAAAAAAAAA8bkR0AAAAAAAAAAA9wx9rAAAAAAAAAAAAAAAAAAAAAAAAAAA9uXPQO7nOmwAAAAAAAAAAPiQipQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPofOGgAAAAAAAAAAPQXMtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2msr0AAAAAPI17JTzLI+AAAAAAAAAAAAAAAAA88OoNPP2TBwAAAAA8ml1bAAAAAAAAAAAAAAAAPZCNWwAAAAAAAAAAAAAAAAAAAAA9BkzEPlRJ8j1FFjgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPSTy4gAAAAA9BumrPak55wAAAAAAAAAAO4/wfwAAAAAAAAAAPNad0QAAAAAAAAAAPZl7JQAAAAA9WPtHOmZDAAAAAAAAAAAAAAAAAAAAAAA9K2YzAAAAAAAAAAAxuLrzAAAAAAAAAAAAAAAAAAAAAAAAAAA9EWHfPF86lgAAAAAAAAAAAAAAAAAAAAAAAAAAPRaP7QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADyR3nMAAAAAAAAAAD3O5ZEAAAAAPKdB3AAAAAAAAAAAAAAAAAAAAAA9I9JvAAAAAD1IMhM8HrxQAAAAAAAAAAAAAAAAAAAAADvxOS0AAAAAAAAAADwUEzsAAAAAO5RG1wAAAAAAAAAAOwzWEAAAAAA9Axy1Pi9ZcQAAAAA8nnvhAAAAAAAAAAA8tvZAAAAAAAAAAAA="
}
}
}
}
And here is the sample results:
{
"_index" : "sappearance",
"_type" : "_doc",
"_id" : "GYE1_3YB81_RQuAAxOtM",
"_score" : 1.54172978,
"_source" : {
"_pid" : 1,
"timestamp" : "2021-01-14T10:52:03.269931",
"embedded" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPH44hAAAAA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4saPLMS8QAAAAAAAAAAAAAAAAAAAAA8i4mBAAAAAAAAAAA=",
"camera_id" : 100
}
}
]
Could you help me out? If I use the built-in dot product function there is no problem.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Embeddings with Word2Vec in non-NLP Contexts — Details
In this document, we will explore the details of creating embeddings vectors with Word2Vec class of models in non-NLP business contexts.
Read more >How to Use Word Embedding Layers for Deep Learning with ...
The embedding has a vector per word which the network will use as a representation for the word. We have a sequence of...
Read more >Why are word embedding actually vectors? - Stack Overflow
Word vectors are positioned in the vector space such that words that share common contexts in the corpus are located in close proximity...
Read more >Understanding Vectors From a Machine Learning Perspective
Vectors are not the only way to represent numbers for machines to process and transform inputs. While we're mainly concerned with vectors in ......
Read more >BERT Word Embeddings Tutorial - Chris McCormick
What can we do with these word and sentence embedding vectors? ... but BERT expects it no matter what your application is.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lior-k I’m having the same problem.
@lior-k
Thanks for your work! I have solved the above problem that appeared in branch 7.9.0 by debugging es locally.
Bug code in VectorScoreScript.java, line29~30:
The right code should be:
Please fix this bug.
Reference: Official usage of
BytesRef
in ElasticSearch, see AbstractBinaryDVLeafFieldData.java, line62~66: