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

Deprecate index.elastiknn setting #254

Closed
alexklibisz opened this issue Apr 17, 2021 · 2 comments · Fixed by #347
Closed

Deprecate index.elastiknn setting #254

alexklibisz opened this issue Apr 17, 2021 · 2 comments · Fixed by #347

Comments

@alexklibisz
Copy link
Owner

Now that Lucene 8.8 supports configurable docvalues compression, I would ideally be able to remove the index.elastiknn setting and just let users decide whether they want to optimize for search speed or size on disk.

However, elasticsearch currently doesn't support a best_speed option for index.codec. I requested this to be added: elastic/elasticsearch#71788

For now, if anyone finds the index.elastiknn setting problematic or annoying, you can work around it and keep the same performance by setting index.codec to "lucene_default".

@alexklibisz
Copy link
Owner Author

Seems the plan is to remove doc values compression all-together for newer versions of Lucene: https://issues.apache.org/jira/browse/LUCENE-9843

@alexklibisz
Copy link
Owner Author

Seems the plan is to remove doc values compression all-together for newer versions of Lucene: https://issues.apache.org/jira/browse/LUCENE-9843

This was merged and looks like it will be out in 9.0. ES is currently on Lucene 8.8.x

@alexklibisz alexklibisz changed the title Get rid of index.elastiknn setting in favor of index.codec best_speed setting Deprecate index.elastiknn setting Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant