Skip to content

fix: fix None embedding exact nn search#1575

Merged
JoanFM merged 2 commits into
mainfrom
fix-filter-None-embeddings
May 26, 2023
Merged

fix: fix None embedding exact nn search#1575
JoanFM merged 2 commits into
mainfrom
fix-filter-None-embeddings

Conversation

@JoanFM

@JoanFM JoanFM commented May 24, 2023

Copy link
Copy Markdown
Member

This PR filters out None embeddings when computing the index matrix before doing the NN search in find method

@JoanFM JoanFM linked an issue May 24, 2023 that may be closed by this pull request
@JoanFM JoanFM force-pushed the fix-filter-None-embeddings branch from dadb515 to 3f794be Compare May 24, 2023 15:30
@JoanFM JoanFM requested review from JohannesMessner and jupyterjazz and removed request for JohannesMessner May 24, 2023 15:30
@JoanFM JoanFM force-pushed the fix-filter-None-embeddings branch from 3f794be to 962a96a Compare May 24, 2023 15:33
Comment thread tests/index/in_memory/test_in_memory.py Outdated
Comment thread docarray/utils/find.py Outdated
@JoanFM JoanFM force-pushed the fix-filter-None-embeddings branch 2 times, most recently from 4fa6321 to e9a5d75 Compare May 24, 2023 15:40
Comment thread docarray/utils/find.py Outdated
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
@JoanFM JoanFM force-pushed the fix-filter-None-embeddings branch from e9a5d75 to 0c84598 Compare May 24, 2023 16:10
@JoanFM JoanFM requested a review from JohannesMessner May 24, 2023 16:15
Comment thread docarray/utils/find.py
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
@JoanFM JoanFM requested review from JohannesMessner and samsja May 26, 2023 09:44
@github-actions

Copy link
Copy Markdown

📝 Docs are deployed on https://ft-fix-filter-None-embeddings--jina-docs.netlify.app 🎉

@JoanFM JoanFM merged commit 5d41c13 into main May 26, 2023
@JoanFM JoanFM deleted the fix-filter-None-embeddings branch May 26, 2023 10:29
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.

None value in optional search fields of index documents cause errors

4 participants