-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Make dense_vector fields updatable to bbq_flat/bbq_hnsw #128291
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
…to dvm_update_bbq
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
Hi @tteofili, I've created a changelog YAML for you. |
server/src/main/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapper.java
Outdated
Show resolved
Hide resolved
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.
Other than the one comment this lgtm!
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 think this is good.
One question, what happens if the index was created with dims less than our minimum BBQ dims?
Do we fail the upgrade or do we get stuck in a bad state?
if you have the default (e.g., you specify nothing in |
💔 Backport failed
You can use sqren/backport to manually backport by running |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 629a366)
This allows
dense_vector
fields to be updated tobbq_flat
/bbq_hnsw
.Allowed update paths:
*_flat
-->bbq_flat/bbq_hnsw
*_hnsw
-->bbq_hnsw