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

Fix k-NN build due to lucene upgrade #2193

Closed
navneet1v opened this issue Oct 7, 2024 · 1 comment · Fixed by #2195
Closed

Fix k-NN build due to lucene upgrade #2193

navneet1v opened this issue Oct 7, 2024 · 1 comment · Fixed by #2195
Assignees
Labels

Comments

@navneet1v
Copy link
Collaborator

navneet1v commented Oct 7, 2024

Description

Whenever there are new codec added in Lucene, Lucene changes the imports for the old codec and move then under backward_codec package path. This breaks the k-NN build as we need to update the codec imports and also need to add the new codec. Adding of new codec is required because there are new formats that are added by Lucene and we want to ensure that an index using k-NN codec is using the latest formats from lucene.

@navneet1v
Copy link
Collaborator Author

Since the PR is merged. Please ensure that you do following things to fix your local:

  1. Remove the gradle cache. This can be done by cd ~/.gradle and then rm -rf caches
  2. Remove the build folder from the local k-NN repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant