Skip to content

Reload KnnVectorsFormat in Lucene SPI registry​ #129197

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rassyan
Copy link
Contributor

@Rassyan Rassyan commented Jun 10, 2025

In order for plugins to extend Lucene's KnnVectorsFormat, we need to reload
it along with other Lucene SPIs when the plugin classloader is created.

This commit adds the call to KnnVectorsFormat.reloadKnnVectorsFormat(loader)
in reloadLuceneSPI method, allowing full extension of Lucene's vector functionality through plugins.

@Rassyan Rassyan requested a review from a team as a code owner June 10, 2025 13:00
@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v9.1.0 external-contributor Pull request authored by a developer outside the Elasticsearch team labels Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-contributor Pull request authored by a developer outside the Elasticsearch team needs:triage Requires assignment of a team area label v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants