-
Notifications
You must be signed in to change notification settings - Fork 127
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
[BUG] Cluster crash when using script score #1647
Comments
Are you seeing similar error in OS logs?
|
@rishabh6788 That error isn't present in the logs for me. |
I was able to confirm that it crashes even without a model-based index present |
I was unable to reproduce the error on 2.13 branch. Initial deep dive suggests that it might be caused by this PR (#1573), and reverting the PR locally fixed the bug. @bugmakerrrrrr we are going to revert this PR for now to fix the bug for 2.14 release |
@ryanbogan sorry for introducing this bug. I'll look into this issue later |
@ryanbogan I think that I have figured out the root cause. According to the
When using script score on the index with some docs without target vector field, these missing field doc ids will be passed to I think that we can fix this bug by implementing setNextDocId as following:
I will open a PR at a later time. |
@bugmakerrrrrr No worries, thanks for the insight! I'll add an integration test that covers this exact scenario so we won't run into this error again. |
What is the bug?
The cluster crashes when the steps below are followed and gives this error:
How can one reproduce the bug?
Steps to reproduce the behavior:
Complete the following API calls:
The text was updated successfully, but these errors were encountered: