Skip to content
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

Adds integration tests for NativeEngineKnnVectorsFormat code path #1995

Closed
wants to merge 1 commit into from

Conversation

shatejas
Copy link
Collaborator

@shatejas shatejas commented Aug 21, 2024

Description

This adds integration test for #1950

This also turns on the flag to use native index writer

Check List

  • New functionality includes testing.
  • Commits are signed per the DCO using --signoff.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Comment on lines +84 to 85
final KNNMethodContext knnMethodContext = extractKNNMethodContext(mappedFieldType);
final Map<String, Object> params = knnMethodContext.getMethodComponentContext().getParameters();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

final Map<String, Object> params = knnMethodContext.getMethodComponentContext().getParameters()

getMethodComponentContext here can be null. We need to build this getMethodComponentContext from scratch. See BWC tests are failing.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shatejas shatejas force-pushed the integ-test branch 2 times, most recently from c910981 to 02418b5 Compare August 28, 2024 05:51
@shatejas
Copy link
Collaborator Author

shatejas commented Sep 3, 2024

Closing in favor of #2020

@shatejas shatejas closed this Sep 3, 2024
@shatejas shatejas deleted the integ-test branch November 27, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants