-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Remove support for sparse vectors. #48781
Conversation
Pinging @elastic/es-search (:Search/Search) |
630e4e3
to
3e83ba5
Compare
a300dcb
to
7e30732
Compare
7e30732
to
e8fd8a1
Compare
e8fd8a1
to
0242a5e
Compare
@mayya-sharipova this is now ready for a review (after some initial issues with test failures). |
@elasticmachine run elasticsearch-ci/packaging-sample-matrix |
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.
@jtibshirani Thanks Julie, very nice approach for the bwc to keep just a definition of the type.
*/ | ||
@Deprecated |
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.
may be add TODO: to remove this class in 9.0
assertThat(e.getCause(), instanceOf(IllegalArgumentException.class)); | ||
assertThat(e.getCause().getMessage(), containsString( | ||
"dimension number must be a non-negative integer value not exceeding [65535], got [-50]")); | ||
public void testSparseVectorWith7xIndex() throws Exception { |
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.
Nicely written test!
Follow up to #48368. This PR removes support for
sparse_vector
on newindices. On 7.x indices a
sparse_vector
can still be defined, but it is notpossible to index or search on it.