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

Add Open Distro for Elasticsearch K-NN #6

Merged
merged 2 commits into from
May 18, 2020

Conversation

mnagaya
Copy link

@mnagaya mnagaya commented May 15, 2020

#4


ENV http.port=19200
ENV opendistro_security.disabled=true
ENV knn.algo_param.index_thread_qty=4
Copy link
Owner

Choose a reason for hiding this comment

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

Does this only control indexing or also searches? I would rather see this set to 1, especially if it's multi-threaded query execution.

Copy link
Author

Choose a reason for hiding this comment

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

I think that knn.algo_param.index_thread_qty parameter is only for indexing.

Ref: https://github.com/nmslib/nmslib/blob/master/manual/latex/methods.tex#L1198-L1205

If we would like to improve write performance then we increase it.

@jobergum jobergum merged commit efa66c0 into jobergum:master May 18, 2020
@jobergum
Copy link
Owner

Thanks a lot for your contribution on this @mnagaya. I'll work on adding the HNSW runs for Vespa the coming weeks.

@mnagaya mnagaya deleted the mnagaya/opendistroforelasticsearch branch May 19, 2020 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants