Closed lornsky closed 5 years ago
Hi Yang guang, were you able to install it?
Yes, installed it successful!
but when i query it return the result is not right!
embedding_vector use python to get base64 code, i don't know the reason!
can you Converting a vector to Base64 with php ? thanks!
Not sure how to do it in PHP. maybe something like this? (P.S it doesn't really work, but it may give you an idea)
$br = [ 1.1, 2.2, 3.3];
print_r($br);
$s = pack("f*", $br);
var_dump($s);
$enc = base64_encode($s);
var_dump($enc);
$dec = base64_decode($enc);
var_dump($dec);
$ar = unpack("f*", $dec);
var_dump($ar);
Thanks replied!
I have one Billion vectors( base word2vec have 300 Features), Can I use the plugin? Can the plugin return result? thanks again!
Yes, the plug-in will return the proper KNN result
On Sun, Jul 28, 2019, 11:23 AM Yang guang notifications@github.com wrote:
Thanks replied! I have one Billion vectors( base word2vec have 300 Features), Can I use the plugin? Can the plugin return result? thanks again!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lior-k/fast-elasticsearch-vector-scoring/issues/24?email_source=notifications&email_token=ABGGISG4N2Y3GX3D272J4C3QBVJPFA5CNFSM4IFDI5C2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26Z3YI#issuecomment-515743201, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGGISAHEOVIVR6UWWGFH3TQBVJPFANCNFSM4IFDI5CQ .
ok,I try it! Do you have some suggestions for ES config with one Billion vectors? thanks!
On Sun, Jul 28, 2019, 11:45 AM Yang guang notifications@github.com wrote:
ok,I try it! Do you have some suggestions for ES config with one Billion vectors? thanks!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lior-k/fast-elasticsearch-vector-scoring/issues/24?email_source=notifications&email_token=ABGGISFADA4DIQUPLK2KFWLQBVMDTA5CNFSM4IFDI5C2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD262HWA#issuecomment-515744728, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGGISELR2CFBW6VPVVYIOTQBVMDTANCNFSM4IFDI5CQ .
bin/elasticsearch-plugin install /root/vector/target/releases/elasticsearch-binary-vector-scoring-5.6.0.zip
alert: ERROR: Unknown plugin /root/vector/target/releases/elasticsearch-binary-vector-scoring-5.6.0.zip
how to fix it,thanks!