-
Notifications
You must be signed in to change notification settings - Fork 81
feat: new text representation for sparse vector #466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The failed CI is due to an upstream uncompatiablity:
|
2089054 to
0e0c58b
Compare
|
The reason why CI fails is that |
src/datatype/text_svecf32.rs
Outdated
| if *x != F32::zero() { | ||
| match need_splitter { | ||
| true => { | ||
| buffer.push_str(format!("{}:{}", i + 1, x).as_str()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel not good about indexing from 1. It's not consistent with subscripting.
69e527e to
2823e00
Compare
|
Let's hold this PR for now, due to the conflict between 1-based array and 0-based array |
f86433b to
2d6c196
Compare
|
This is used to support bm25 extension. It can produce string instead of depending on pgvecto.rs/pgvector. cc @cutecutecat |
cbf9900 to
12c8d9f
Compare
1b376ab to
2581c60
Compare
6c9db13 to
e4be2c3
Compare
e4be2c3 to
21a048f
Compare
Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
21a048f to
8a8561e
Compare
usamoi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be correct.
|
Please get this merge today, thanks |
0c98c07 to
2a1beaf
Compare
Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
2a1beaf to
94312ef
Compare
Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
c44a8f0 to
294f0c8
Compare
Part of #459
proc_macro_byte_characterfrom upstreamReminder
The index is from 1 instead of 0 at pgvector