refactor: do not recompute every time num_docs by JoanFM · Pull Request #1729 · docarray/docarray · GitHub
Skip to content

refactor: do not recompute every time num_docs#1729

Merged
JoanFM merged 3 commits intomainfrom
fix-num-docs
Jul 26, 2023
Merged

refactor: do not recompute every time num_docs#1729
JoanFM merged 3 commits intomainfrom
fix-num-docs

Conversation

@JoanFM
Copy link
Copy Markdown
Member

@JoanFM JoanFM commented Jul 26, 2023

No description provided.

Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 26, 2023

jupyterjazz and others added 2 commits July 26, 2023 13:28
Signed-off-by: jupyterjazz <saba.sturua@jina.ai>
…num-docs

Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
Comment thread docarray/index/backends/hnswlib.py
Copy link
Copy Markdown
Contributor

@jupyterjazz jupyterjazz left a comment

Choose a reason for hiding this comment

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

value of k should not be more than number of vectors, otherwise lgtm

@github-actions
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@jupyterjazz jupyterjazz left a comment

Choose a reason for hiding this comment

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

I wasn't aware of this issue. Let's add 1-2 sentences in the code to explain why we're doing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants